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, wait
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isConstraint, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
public ResolvedUnionType(Collection<ResolvedType> elements)
public String describe()
describe
in interface ResolvedType
public boolean isAssignableBy(ResolvedType other)
ResolvedType
isAssignableBy
in interface ResolvedType
Copyright © 2007–2017. All rights reserved.