class ArrayTypeName extends Type
ANY, BOOLEAN, BOXED_BOOLEAN, BOXED_CHAR, BOXED_INT, CHAR, CONSTRUCTOR, INT, NULLTYPE, OBJECT, STRING, VOID
Constructor and Description |
---|
ArrayTypeName(Type componentType)
Construct an array's type given its component type.
|
Modifier and Type | Method and Description |
---|---|
Type |
componentType()
Return the (component) type of its elements.
|
Type |
resolve(Context context)
Resolve this type in the given context.
|
String |
toDescriptor()
Return the JVM descriptor for this type.
|
String |
toString()
A string representation of the type in Java form.
|
abstractMethods, argTypesAsString, argTypesMatch, argumentTypeForAppend, checkAccess, checkAccess, checkAccess, classRep, constructorFor, equals, fieldFor, isAbstract, isArray, isFinal, isInterface, isJavaAssignableFrom, isPrimitive, isReference, jvmName, matchesExpected, methodFor, mustMatchExpected, mustMatchOneOf, packageName, setClassRep, signatureFor, simpleName, superClass, typeFor
public ArrayTypeName(Type componentType)
componentType
- the type of its elements.public Type componentType()
componentType
in class Type
public String toDescriptor()
toDescriptor
in class Type
public String toString()