Class ClassTypeSignature


  • public class ClassTypeSignature
    extends HierarchicalTypeSignature
    A class type signature (called "ClassSignature" in the classfile documentation).
    • Field Detail

      • scanResult

        protected transient ScanResult scanResult
    • Method Detail

      • getTypeParameters

        public List<TypeParameter> getTypeParameters()
        Returns:
        The type parameters for the class.
      • getSuperclassSignature

        public ClassRefTypeSignature getSuperclassSignature()
        Get the type signature for the superclass (possibly null in the case of Object, since it doesn't have a superclass).
        Returns:
        The type signature for the superclass, or null if no superclass (i.e. for Object).
      • getSuperinterfaceSignatures

        public List<ClassRefTypeSignature> getSuperinterfaceSignatures()
        Get the type signatures of any superinterfaces
        Returns:
        The type signatures of any superinterfaces.
      • getClassName

        protected String getClassName()
        The name of the class (used by getClassInfo() to fetch the ClassInfo object for the class).
        Returns:
        The class name.
      • getClassInfo

        protected ClassInfo getClassInfo()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object