public final class JArrayType extends JComponentizedType
JType sub-class for Arrays.
Since:
1.0.4
Version:
$Revision$ $Date$
Author:
Werner Guttman
  • Constructor Details

    • 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 Details

    • 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.