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 |
erasure() |
ResolvedType |
getComponentType() |
int |
hashCode() |
boolean |
isArray() |
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 |
toDescriptor() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitarrayLevel, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, solveGenericTypespublic ResolvedArrayType(ResolvedType baseType)
public ResolvedArrayType asArrayType()
asArrayType in interface ResolvedTypepublic boolean isArray()
isArray 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 ResolvedTypepublic ResolvedType erasure()
erasure in interface ResolvedTypepublic String toDescriptor()
toDescriptor in interface ResolvedTypeCopyright © 2007–2024. All rights reserved.