Class JArrayType


  • public final class JArrayType
    extends JComponentizedType
    JType sub-class for Arrays.
    Since:
    1.0.4
    Version:
    $Revision$ $Date$
    • 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.