public final class JArrayType extends JComponentizedType
Constructor and Description |
---|
JArrayType(JType componentType,
boolean useJava50)
Creates an instance of a array type, of type 'name'.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the String representation of this JType, which is simply the name of this type.
|
getComponentType, isUseJava50
changePackage, createArray, getLocalName, getName, isArray, isPrimitive
public JArrayType(JType componentType, boolean useJava50)
componentType
- Component type.useJava50
- True if Java 5.0 should be generated.