org.exolab.javasource
Class JArrayType
JType sub-class for Arrays.
JArrayType(JType componentType, boolean useJava50) - Creates an instance of a array type, of type 'name'.
|
boolean | isArray() - Returns true if this type represents an Array.
|
String | toString() - Returns the String representation of this JType, which is simply the name
of this type.
|
JArrayType
public JArrayType(JType componentType,
boolean useJava50)
Creates an instance of a array type, of type 'name'.
componentType
- Component type.useJava50
- True if Java 5.0 should be generated.
isArray
public final boolean isArray()
Returns true if this type represents an Array.
- isArray in interface JType
- true if this type represents an Array.
toString
public final String toString()
Returns the String representation of this JType, which is simply the name
of this type.
- toString in interface JType
- the String representation of this JType
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com