Skip to content
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
merged 9 commits into from
Jul 1, 2020

Conversation

jGauravGupta
Copy link

@jGauravGupta jGauravGupta commented Jun 19, 2020

This PR includes improvements in HK2 ClassModel Parser as listed below:

UnitTest:

@SomeAnnotation(
aLong = 10,
aClass = Void.class,
aClassArr = {Integer.class, String.class},
aEnum = SomeEnum.ENUM1,
childAnnotation = @ChildAnnotation("child_value")
)
@Color(name = "red")
@Color(name = "green")
@GradientColor({
@Color(name = "white"),
@Color(name = "black")
})
@GradientColor({
@Color(name = "yellow"),
@Color(name = "orange")
})
public SampleType<Integer, Character, Boolean> setFoo(
@Color(name = "brown") String foo,
List<String> input,
SampleType<Double, String, SampleType<Short, Float, Long>> abc) {

@jGauravGupta jGauravGupta changed the title FISH-161 ASM Parameter Annotation Parser FISH-161 HK2 Annotation Parser improvements Jun 22, 2020
…d nested list of annotation

Signed-off-by: Gaurav Gupta <[email protected]>
Copy link

@MattGill98 MattGill98 left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants