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

Leventov/pr 705 #5

Closed
wants to merge 3 commits into from
Closed

Leventov/pr 705 #5

wants to merge 3 commits into from

Conversation

GerardPaligot
Copy link

No description provided.

leventov and others added 3 commits June 16, 2016 13:14
…t TypeReference-building factory methods return references with unnamed package rather than null package and null declaring type, to preserve invariant that either ref.getPackage() or ref.getDeclaringType() is not null, unless the type reference represent a primitive type class or void.class
Before this PR, aClass.getReferencedTypes() in the test case
testAnonymousClassesHaveAnEmptyStringForItsNameInNoClasspath
returns 7 items because the reference A was referenced twice in
the sample class. Now, these references are same and we return
a Set so we don't have any more two references for A.
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