Class CDType

  • Direct Known Subclasses:
    CDClass

    public class CDType
    extends java.lang.Object
    • Field Detail

      • VOID

        public static final CDType VOID
      • INTEGER

        public static final CDType INTEGER
      • BOOLEAN

        public static final CDType BOOLEAN
      • STRING

        public static final CDType STRING
    • Constructor Detail

      • CDType

        public CDType​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the display name of the type.
      • array

        public CDType array()
        Gets the array type of this type.
      • writeType

        public void writeType​(CDFormatter f)
                       throws java.io.IOException
        Prints the type name.
        Throws:
        java.io.IOException
      • isArray

        public boolean isArray()
        Returns true if this is an array type.