Class ClassSymbol

  • All Implemented Interfaces:
    Symbol

    @Immutable
    public class ClassSymbol
    extends java.lang.Object
    implements Symbol
    A class symbol.

    Turbine identifies classes by their binary string name. Symbols are immutable and do not hold any semantic information: the information that has been determined at the current phase (e.g. about super-types and members) is held externally.

    • Constructor Detail

      • ClassSymbol

        public ClassSymbol​(java.lang.String className)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(@Nullable java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • binaryName

        public java.lang.String binaryName()
        The JVMS 4.2.1 binary name of the class.
      • simpleName

        public java.lang.String simpleName()
      • packageName

        public java.lang.String packageName()