public class ResolvedArrayType extends Object implements ResolvedType
| Constructor and Description |
|---|
ResolvedArrayType(ResolvedType baseType) |
| Modifier and Type | Method and Description |
|---|---|
ResolvedArrayType |
asArrayType() |
String |
describe() |
boolean |
equals(Object o) |
ResolvedType |
getComponentType() |
int |
hashCode() |
boolean |
isArray()
Does this type represent an array?
|
boolean |
isAssignableBy(ResolvedType other)
This method checks if ThisType t = new OtherType() would compile.
|
ResolvedType |
replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace,
ResolvedType replaced,
Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)
Replace all variables referring to the given TypeParameter with the given value.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitarrayLevel, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, isConstraint, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariablespublic ResolvedArrayType(ResolvedType baseType)
public ResolvedArrayType asArrayType()
asArrayType in interface ResolvedTypepublic boolean isArray()
ResolvedTypeisArray in interface ResolvedTypepublic String describe()
describe in interface ResolvedTypepublic ResolvedType getComponentType()
public boolean isAssignableBy(ResolvedType other)
ResolvedTypeisAssignableBy in interface ResolvedTypepublic ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)
ResolvedTypereplaceTypeVariables in interface ResolvedTypeCopyright © 2007–2017. All rights reserved.