public class ResolvedUnionType extends Object implements ResolvedType
| Constructor and Description |
|---|
ResolvedUnionType(Collection<ResolvedType> elements) |
| Modifier and Type | Method and Description |
|---|---|
String |
describe() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isAssignableBy(ResolvedType other)
This method checks if ThisType t = new OtherType() would compile.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitarrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isConstraint, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariablespublic ResolvedUnionType(Collection<ResolvedType> elements)
public String describe()
describe in interface ResolvedTypepublic boolean isAssignableBy(ResolvedType other)
ResolvedTypeisAssignableBy in interface ResolvedTypeCopyright © 2007–2017. All rights reserved.