From ab28ffb65ef3f79faf1794326b7a7bc1982f63b7 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sun, 26 May 2019 07:50:15 +0200 Subject: [PATCH] Update CtTypeInformation.java --- .../java/spoon/reflect/declaration/CtTypeInformation.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/spoon/reflect/declaration/CtTypeInformation.java b/src/main/java/spoon/reflect/declaration/CtTypeInformation.java index b237f90921c..4e48debe29a 100644 --- a/src/main/java/spoon/reflect/declaration/CtTypeInformation.java +++ b/src/main/java/spoon/reflect/declaration/CtTypeInformation.java @@ -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();