diff --git a/src/main/java/spoon/reflect/declaration/CtTypeInformation.java b/src/main/java/spoon/reflect/declaration/CtTypeInformation.java index e32c9cea4e7..9e82f234d20 100644 --- a/src/main/java/spoon/reflect/declaration/CtTypeInformation.java +++ b/src/main/java/spoon/reflect/declaration/CtTypeInformation.java @@ -98,6 +98,7 @@ public interface CtTypeInformation { /** * Returns true if the referenced type is a sub-type of the given type. + * Returns true is type is self, it means: typeX.isSubtypeOf(typeX) is true too */ boolean isSubtypeOf(CtTypeReference type);