public final class IntersectionType<T> extends ReferenceType<T>
An intersection type takes the form
T1 & .. & Tn
;
we call T1,...Tn
the super types of the intersection type.
Constructor and Description |
---|
IntersectionType(ReferenceType<?>... superTypes)
Create an intersection type.
|
Instance Methods | |
---|---|
List<ReferenceType<?>> |
getSuperTypes()
Get the super types of the intersection.
|
String |
toString(boolean full)
A textual description of the type.
|
convertFrom, equals, hashCode, toString
public IntersectionType(ReferenceType<?>... superTypes)
public List<ReferenceType<?>> getSuperTypes()