JParseCode 0.20.0
Method generic type parameters parsing support (i.e. 'public T Create()' in C#).
Added
- Method generic type parameters added -
MethodSigand sub-classes have a newtypeParametersfield. Note: if these 'types' contain lower/upper type bounds these are included in thetypeNameproperty 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
EnhancedListIteratoras a replacement forTokenListIterableto try and simplify fragment iteration since it is a fairly hot section of code in most parsing scenarios ParseTimes.TrackerActionenums renamed:LOAD->READPARSE->EXTRACT_AST
- Update dependency jtext-tokenizer@0.6.0 and code to match
- Adjustments to
new CharParserMatchableFactory()andCharConditions.Identifier.newInstance()calls inIdentifierTokenizerandNumberTokenizer
- Adjustments to
- JSON output now excludes empty
annotationsarrays on fields, methods, and parameters - Additional performance log counters added to several methods and printed when performance info is enabled via
-debugCLI 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