Class BaseTypeSignature


  • public class BaseTypeSignature
    extends TypeSignature
    A type signature for a base type (byte, char, double, float, int, long, short, boolean, or void).
    • Method Detail

      • getTypeStr

        public String getTypeStr()
        Get the type as a string.
        Returns:
        The base type, such as "int", "float", or "void".
      • getTypeSignatureChar

        public String getTypeSignatureChar()
        Get the type signature char used to represent the type, e.g. "Z" for int.
        Returns:
        the type signature char, as a one-char String.
      • getType

        public Class<?> getType()
        Get the type.
        Returns:
        The class of the base type, such as int.class, float.class, or void.class.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object