Skip to content

Commit

Permalink
doc: improve specification of isGenerics
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus authored and nharrand committed May 27, 2019
1 parent 4d35e64 commit 7a6226d
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 7a6226d

Please sign in to comment.