Class ClassType

java.lang.Object
org.glassfish.rmic.tools.java.Type
org.glassfish.rmic.tools.java.ClassType
All Implemented Interfaces:
Constants, RuntimeConstants

public final class ClassType extends Type
This class represents an Java class type. It overrides the relevant methods in class Type. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
  • Field Details

  • Constructor Details

    • ClassType

      ClassType(String typeSig, Identifier className)
      Construct a class type. Use Type.tClass to create a new class type.
  • Method Details

    • getClassName

      public Identifier getClassName()
      Description copied from class: Type
      Return the ClassName. Only works on class types.
      Overrides:
      getClassName in class Type
    • typeString

      public String typeString(String id, boolean abbrev, boolean ret)
      Description copied from class: Type
      Convert a Type to a string, if abbrev is true class names are not fully qualified, if ret is true the return type is included.
      Overrides:
      typeString in class Type
    • toStringValue

      public String toStringValue(Object value)
      Overrides:
      toStringValue in class Type
    • isStringType

      private boolean isStringType()