Skip to main content
Filter by
Sorted by
Tagged with
5 votes
0 answers
78 views

The contract for Types#directSupertypes(TypeMirror) says that it will return "the direct supertypes of a type". It also references section 4.10 of the Java Language Specification. The set of ...
Laird Nelson's user avatar
  • 16.5k
0 votes
1 answer
43 views

If I invoke javax.lang.model.util.Types#directSupertypes(TypeMirror) on a TypeMirror representing int, the resulting List is empty. The Java Language Specification says that the direct supertype of ...
Laird Nelson's user avatar
  • 16.5k
0 votes
0 answers
61 views

If I invoke javax.lang.model.util.Types#directSupertypes(TypeMirror) on a TypeMirror corresponding to java.lang.Object[] (an array type), the resulting list is of size 1. The sole element of the list ...
Laird Nelson's user avatar
  • 16.5k