类 UnknownReferenceValue


public class UnknownReferenceValue extends ReferenceValue
ReferenceValue that is unknown.
  • 构造器详细资料

    • UnknownReferenceValue

      public UnknownReferenceValue()
  • 方法详细资料

    • getType

      public String getType()
      从类复制的说明: ReferenceValue
      Returns the type.
      指定者:
      getType 在类中 ReferenceValue
    • getReferencedClass

      public Clazz getReferencedClass()
      从类复制的说明: ReferenceValue
      Returns the class that is referenced by the type.
      指定者:
      getReferencedClass 在类中 ReferenceValue
    • mayBeExtension

      public boolean mayBeExtension()
      从类复制的说明: ReferenceValue
      Returns whether the actual type of this ReferenceValue may be an extension of its type.
      指定者:
      mayBeExtension 在类中 ReferenceValue
    • isNull

      public int isNull()
      从类复制的说明: ReferenceValue
      Returns whether this ReferenceValue is null.
      指定者:
      isNull 在类中 ReferenceValue
      返回:
      NEVER, MAYBE, or ALWAYS.
    • instanceOf

      public int instanceOf(String otherType, Clazz otherReferencedClass)
      从类复制的说明: ReferenceValue
      Returns whether the type is an instance of the given type.
      指定者:
      instanceOf 在类中 ReferenceValue
    • cast

      public ReferenceValue cast(String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast)
      从类复制的说明: ReferenceValue
      Returns this ReferenceValue, cast to the given type.
      指定者:
      cast 在类中 ReferenceValue
    • generalize

      public ReferenceValue generalize(ReferenceValue other)
      从类复制的说明: ReferenceValue
      Returns the generalization of this ReferenceValue and the given other ReferenceValue.
      指定者:
      generalize 在类中 ReferenceValue
    • equal

      public int equal(ReferenceValue other)
      从类复制的说明: ReferenceValue
      Returns whether this ReferenceValue is equal to the given other ReferenceValue.
      指定者:
      equal 在类中 ReferenceValue
      返回:
      NEVER, MAYBE, or ALWAYS.
    • isParticular

      public boolean isParticular()
      从类复制的说明: Value
      Returns whether this Value represents a single particular (known) value.
      覆盖:
      isParticular 在类中 Value
    • internalType

      public final String internalType()
      从类复制的说明: Value
      Returns the internal type of this Value.
      指定者:
      internalType 在类中 Value
      返回:
      TypeConstants.BOOLEAN, TypeConstants.BYTE, TypeConstants.CHAR, TypeConstants.SHORT, TypeConstants.INT , TypeConstants.LONG, TypeConstants.FLOAT, TypeConstants.DOUBLE, TypeConstants.CLASS_START ... TypeConstants.CLASS_END , or an array type containing any of these types (always as String).
    • toString

      public String toString()
      覆盖:
      toString 在类中 ReferenceValue