JParseCode 0.20.0
Method generic type parameters parsing support (i.e. 'public T Create()' in C#).
Added
- Method generic type parameters added -
MethodSig
and sub-classes have a newtypeParameters
field. Note: if these 'types' contain lower/upper type bounds these are included in thetypeName
property in Java and are not yet included in C# parsing- Added basic unit tests for this new method generic type parameters parsing support
AstFragType.isBlock(CodeToken, char)
overload for attempted performance optimization
Changed
- Renamed
DataTypeExtractor
->TypeExtractor
- Added
EnhancedListIterator
as a replacement forTokenListIterable
to try and simplify fragment iteration since it is a fairly hot section of code in most parsing scenarios ParseTimes.TrackerAction
enums renamed:LOAD
->READ
PARSE
->EXTRACT_AST
- Update dependency jtext-tokenizer@0.6.0 and code to match
- Adjustments to
new CharParserMatchableFactory()
andCharConditions.Identifier.newInstance()
calls inIdentifierTokenizer
andNumberTokenizer
- Adjustments to
- JSON output now excludes empty
annotations
arrays on fields, methods, and parameters - Additional performance log counters added to several methods and printed when performance info is enabled via
-debug
CLI flag
Removed
AstFragType.isType()
static method and overloads since they were unused- Unused
CommentTokenizer.createCommentTokenizerForJava()
Fixed
- An exception being thrown when resolving class names if a file imported a namespace and also imported a child namespace of the first namespace