Skip to content

Commit

Permalink
added comment typeX.isSubtypeOf(typeX) is true
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Feb 1, 2017
1 parent 4cfa4e3 commit ceb93f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ceb93f5

Please sign in to comment.