Class ClassRefOrTypeVariableSignature

Direct Known Subclasses:
ClassRefTypeSignature, TypeVariableSignature

public abstract class ClassRefOrTypeVariableSignature extends ReferenceTypeSignature
A class type or type variable. Subclasses are ClassRefTypeSignature and TypeVariableSignature.
  • Field Details

    • scanResult

      protected transient ScanResult scanResult
      The scan result.
    • classRef

      protected transient Class<?> classRef
      The class ref, once the class is loaded.
  • Constructor Details

    • ClassRefOrTypeVariableSignature

      protected ClassRefOrTypeVariableSignature()
      Constructor.
  • Method Details

    • getClassName

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

      public String toStringWithSimpleNames()
      Render to string, using only simple names for classes.
      Returns:
      the string representation, using simple names for classes.
    • toString

      public String toString()
      Render to string.
      Overrides:
      toString in class Object
      Returns:
      the string representation.