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

doc: improve specification of isGenerics #2990

Merged
merged 1 commit into from
May 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ public interface CtTypeInformation {
boolean isAnnotationType();

/**
* Returns true if it refers to a type parameter (ie not a concrete class, eg "T foo"). It can refer to it directly (eg T), or indirectly (eg List<T>, or Set<List<T>>).
* Returns true if it is not a concrete, resolvable class, it if refers to a type parameter directly or indirectly.
* Direct: "T foo" isGenerics returns true.
* Indirect: List<T>, or Set<List<T>> isGenerics returns true
*/
@DerivedProperty
boolean isGenerics();
Expand Down