Class TypedReferenceValue

Direct Known Subclasses:
ArrayReferenceValue, IdentifiedReferenceValue

public class TypedReferenceValue extends ReferenceValue
This ReferenceValue represents a partially evaluated reference value. It has a type and a flag that indicates whether the value could be null. If the type is null , the value is null.
  • Field Details

    • INCOMPLETE_CLASS_HIERARCHY

      public static boolean INCOMPLETE_CLASS_HIERARCHY
      Indicates whether there were occurrences of IncompleteClassHierarchyException.
    • ALLOW_INCOMPLETE_CLASS_HIERARCHY

      public static boolean ALLOW_INCOMPLETE_CLASS_HIERARCHY
      If true, do not throw an IncompleteClassHierarchyException when one would occur.
    • WARN_INCOMPLETE_CLASS_HIERARCHY

      public static boolean WARN_INCOMPLETE_CLASS_HIERARCHY
      If true, print warnings for occurrences of IncompleteClassHierarchyException when ALLOW_INCOMPLETE_CLASS_HIERARCHY is enabled.
    • type

      protected final String type
    • referencedClass

      protected final Clazz referencedClass
    • mayBeExtension

      protected final boolean mayBeExtension
    • mayBeNull

      protected final boolean mayBeNull
  • Constructor Details

    • TypedReferenceValue

      public TypedReferenceValue(String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull)
      Creates a new TypedReferenceValue.
  • Method Details