forked from javaee/hk2
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FISH-161 HK2 Annotation Parser improvements #12
Merged
jGauravGupta
merged 9 commits into
payara:2.6.1.payara-maintenance
from
jGauravGupta:FISH-161
Jul 1, 2020
Merged
FISH-161 HK2 Annotation Parser improvements #12
jGauravGupta
merged 9 commits into
payara:2.6.1.payara-maintenance
from
jGauravGupta:FISH-161
Jul 1, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jGauravGupta
changed the title
FISH-161 ASM Parameter Annotation Parser
FISH-161 HK2 Annotation Parser improvements
Jun 22, 2020
Signed-off-by: Gaurav Gupta <[email protected]>
…d nested list of annotation Signed-off-by: Gaurav Gupta <[email protected]>
Signed-off-by: Gaurav Gupta <[email protected]>
MattGill98
approved these changes
Jun 29, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clever - I like it
Signed-off-by: Gaurav Gupta <[email protected]>
Signed-off-by: Gaurav Gupta <[email protected]>
Signed-off-by: Gaurav Gupta <[email protected]>
Signed-off-by: Gaurav Gupta <[email protected]>
Signed-off-by: Gaurav Gupta <[email protected]>
This was referenced Jul 2, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes improvements in HK2 ClassModel Parser as listed below:
Generic types parser for Method Parameters and return type
patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/impl/MethodSignatureVisitorImpl.java
Line 33 in eb4663e
Added the
Parameter
list toMethodModel
interface which returns the list ofAnnotationModel
:patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/MethodModel.java
Line 55 in 4a314c1
Introduced
EnumModel
to return enum type:patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/EnumModel.java
Lines 23 to 29 in b8fb554
patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/impl/ModelClassVisitor.java
Lines 487 to 496 in b8fb554
patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/EnumType.java
Line 23 in f83b921
Repeatable and Nested Annotation parser:
patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/impl/ModelClassVisitor.java
Lines 499 to 515 in b8fb554
Array element in Annotation
patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/impl/ModelClassVisitor.java
Lines 477 to 484 in b8fb554
patched-src-hk2/class-model/src/main/java/org/glassfish/hk2/classmodel/reflect/impl/ModelClassVisitor.java
Lines 519 to 544 in b8fb554
UnitTest:
patched-src-hk2/class-model/src/test/java/org/glassfish/hk2/classmodel/reflect/test/method/SimpleAnnotatedMethod.java
Lines 25 to 45 in eb4663e