org.exolab.javasource

Class JArrayType

public class JArrayType extends JComponentizedType

JType sub-class for Arrays.

Since: 1.0.4

Constructor Summary
JArrayType(JType componentType, boolean useJava50)
Creates an instance of a array type, of type 'name'.
Method Summary
booleanisArray()
Returns true if this type represents an Array.
StringtoString()
Returns the String representation of this JType, which is simply the name of this type.

Constructor Detail

JArrayType

public JArrayType(JType componentType, boolean useJava50)
Creates an instance of a array type, of type 'name'.

Parameters: componentType Component type. useJava50 True if Java 5.0 should be generated.

Method Detail

isArray

public final boolean isArray()
Returns true if this type represents an Array.

Returns: 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.

Returns: the String representation of this JType

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com