public interface TypeHierarchy<Q>
DefaultQualifiedTypeFactory
component for performing subtyping
checks between QualifiedTypeMirror
s.Modifier and Type | Method and Description |
---|---|
boolean |
isSubtype(QualifiedTypeMirror<Q> subtype,
QualifiedTypeMirror<Q> supertype)
Checks if
subtype is a subtype of supertype . |
boolean isSubtype(QualifiedTypeMirror<Q> subtype, QualifiedTypeMirror<Q> supertype)
subtype
is a subtype of supertype
.