| Modifier and Type | Method and Description |
|---|---|
ArrayType |
asArrayType() |
String |
describe() |
boolean |
equals(Object o) |
Type |
getComponentType() |
int |
hashCode() |
boolean |
isArray()
Does this type represent an array?
|
boolean |
isAssignableBy(Type other)
This method checks if ThisType t = new OtherType() would compile.
|
Type |
replaceParam(String name,
Type replaced) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitarrayLevel, asPrimitive, asReferenceType, asTypeParameter, asWildcard, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, replaceParampublic ArrayType(Type baseType)
public ArrayType asArrayType()
asArrayType in interface Typepublic boolean isArray()
Typepublic Type getComponentType()
public Type replaceParam(String name, Type replaced)
replaceParam in interface Typepublic boolean isAssignableBy(Type other)
TypeisAssignableBy in interface TypeCopyright © 2016. All rights reserved.