类 UnknownReferenceValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.ReferenceValue
-
- proguard.evaluation.value.UnknownReferenceValue
-
public class UnknownReferenceValue extends ReferenceValue
ReferenceValuethat is unknown.
-
-
字段概要
-
从类继承的字段 proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN
-
-
构造器概要
构造器 构造器 说明 UnknownReferenceValue()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ReferenceValuecast(java.lang.String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast)Returns this ReferenceValue, cast to the given type.intequal(ReferenceValue other)Returns whether this ReferenceValue is equal to the given other ReferenceValue.ReferenceValuegeneralize(ReferenceValue other)Returns the generalization of this ReferenceValue and the given other ReferenceValue.ClazzgetReferencedClass()Returns the class that is referenced by the type.java.lang.StringgetType()Returns the type.intinstanceOf(java.lang.String otherType, Clazz otherReferencedClass)Returns whether the type is an instance of the given type.java.lang.StringinternalType()Returns the internal type of this Value.intisNull()Returns whether this ReferenceValue isnull.booleanisParticular()Returns whether this Value represents a single particular (known) value.booleanmayBeExtension()Returns whether the actual type of this ReferenceValue may be an extension of its type.java.lang.StringtoString()-
从类继承的方法 proguard.evaluation.value.ReferenceValue
arrayLength, arrayStore, computationalType, doubleArrayLoad, equal, equal, equal, equal, equal, equal, equal, equal, equal, equals, floatArrayLoad, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, generalize, getValue, hashCode, integerArrayLoad, isNotNull, longArrayLoad, notEqual, referenceArrayLoad, referenceValue, value
-
从类继承的方法 proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
从类继承的方法 proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isSpecific, longValue
-
-
-
-
方法详细资料
-
getType
public java.lang.String getType()
从类复制的说明:ReferenceValueReturns the type.- 指定者:
getType在类中ReferenceValue
-
getReferencedClass
public Clazz getReferencedClass()
从类复制的说明:ReferenceValueReturns the class that is referenced by the type.- 指定者:
getReferencedClass在类中ReferenceValue
-
mayBeExtension
public boolean mayBeExtension()
从类复制的说明:ReferenceValueReturns whether the actual type of this ReferenceValue may be an extension of its type.- 指定者:
mayBeExtension在类中ReferenceValue
-
isNull
public int isNull()
从类复制的说明:ReferenceValueReturns whether this ReferenceValue isnull.- 指定者:
isNull在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
instanceOf
public int instanceOf(java.lang.String otherType, Clazz otherReferencedClass)从类复制的说明:ReferenceValueReturns whether the type is an instance of the given type.- 指定者:
instanceOf在类中ReferenceValue
-
cast
public ReferenceValue cast(java.lang.String type, Clazz referencedClass, ValueFactory valueFactory, boolean alwaysCast)
从类复制的说明:ReferenceValueReturns this ReferenceValue, cast to the given type.- 指定者:
cast在类中ReferenceValue
-
generalize
public ReferenceValue generalize(ReferenceValue other)
从类复制的说明:ReferenceValueReturns the generalization of this ReferenceValue and the given other ReferenceValue.- 指定者:
generalize在类中ReferenceValue
-
equal
public int equal(ReferenceValue other)
从类复制的说明:ReferenceValueReturns whether this ReferenceValue is equal to the given other ReferenceValue.- 指定者:
equal在类中ReferenceValue- 返回:
NEVER,MAYBE, orALWAYS.
-
isParticular
public boolean isParticular()
从类复制的说明:ValueReturns whether this Value represents a single particular (known) value.- 覆盖:
isParticular在类中Value
-
internalType
public final java.lang.String internalType()
从类复制的说明:ValueReturns 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 java.lang.String toString()
- 覆盖:
toString在类中ReferenceValue
-
-