org.codehaus.modello.plugin.java.javasource
Class JArrayType

java.lang.Object
  extended by org.codehaus.modello.plugin.java.javasource.JType
      extended by org.codehaus.modello.plugin.java.javasource.JComponentizedType
          extended by org.codehaus.modello.plugin.java.javasource.JArrayType

public final class JArrayType
extends JComponentizedType

JType sub-class for Arrays.

Since:
1.0.4
Version:
$Revision: 1041 $ $Date: 2008-12-21 23:06:18 +0100 (So, 21. Dez 2008) $
Author:
Werner Guttman

Field Summary
 
Fields inherited from class org.codehaus.modello.plugin.java.javasource.JType
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, SHORT
 
Constructor Summary
JArrayType(JType componentType, boolean useJava50)
          Creates an instance of a array type, of type 'name'.
 
Method Summary
 java.lang.String toString()
          Returns the String representation of this JType, which is simply the name of this type.
 
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JComponentizedType
getComponentType, isUseJava50
 
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JType
changePackage, createArray, getLocalName, getName, isArray, isPrimitive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

toString

public java.lang.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.