Package jminusminus
Class ArrayTypeName
java.lang.Object
jminusminus.Type
jminusminus.ArrayTypeName
A representation of an array type. It is built by the Parser to stand in for a Type until the
 analyze() phase, at which point it is resolved to an actual Type object (having a Class that
 identifies it).
- 
Field SummaryFields inherited from class jminusminus.TypeANY, BOOLEAN, BOXED_BOOLEAN, BOXED_CHAR, BOXED_DOUBLE, BOXED_INT, BOXED_LONG, CHAR, CONSTRUCTOR, DOUBLE, INT, LONG, NULLTYPE, OBJECT, STRING, VOID
- 
Constructor SummaryConstructorsConstructorDescriptionArrayTypeName(Type componentType) Constructs an ArrayTypeName given its component type.
- 
Method SummaryModifier and TypeMethodDescriptionReturns an array type's component type.Resolves this type in the given context and returns the resolved type.Returns the JVM descriptor of this type.toString()Returns a string representation of this type.Methods inherited from class jminusminus.TypeabstractMethods, 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
- 
Constructor Details- 
ArrayTypeNameConstructs an ArrayTypeName given its component type.- Parameters:
- componentType- the type of the array's elements.
 
 
- 
- 
Method Details- 
componentTypeReturns an array type's component type.- Overrides:
- componentTypein class- Type
- Returns:
- an array type's component type.
 
- 
toDescriptorReturns the JVM descriptor of this type.- Overrides:
- toDescriptorin class- Type
- Returns:
- the JVM descriptor of this type.
 
- 
toStringReturns a string representation of this type.
- 
resolveResolves this type in the given context and returns the resolved type.
 
-