Class 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.
    • Constructor Detail

      • ClassType

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

      • getClassName

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

        public java.lang.String typeString​(java.lang.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 java.lang.String toStringValue​(java.lang.Object value)
        Overrides:
        toStringValue in class Type
      • isStringType

        private boolean isStringType()