org.codehaus.modello.plugin.java.javasource
Class JArrayType
java.lang.Object
org.codehaus.modello.plugin.java.javasource.JType
org.codehaus.modello.plugin.java.javasource.JComponentizedType
org.codehaus.modello.plugin.java.javasource.JArrayType
public final class JArrayType
- extends JComponentizedType
JType sub-class for Arrays.
- Since:
- 1.0.4
- Version:
- $Revision$ $Date$
- Author:
- Werner Guttman
|
Constructor Summary |
JArrayType(JType componentType,
boolean useJava50)
Creates an instance of a array type, of type 'name'. |
|
Method Summary |
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'.
- Parameters:
componentType - Component type.useJava50 - True if Java 5.0 should be generated.
toString
public String toString()
- Returns the String representation of this JType, which is simply the name of this type.
- Overrides:
toString in class JType
- Returns:
- The String representation of this JType.
Copyright © 2001-2011 Codehaus. All Rights Reserved.