Package proguard.evaluation.value
Class UnknownValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.UnknownValue
Represents a value that is completely unknown.
-
Field Summary
Fields inherited from class proguard.evaluation.value.Value
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE, TYPE_TOP, TYPE_UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionintReturns the computational type of this Value.booleangeneralize(Value other) Returns the generalization of this Value and the given other Value.inthashCode()Returns the internal type of this Value.booleanReturns whether the computational type of this Value is a category 2 type.toString()Methods inherited from class proguard.evaluation.value.Value
category1Value, category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, isSpecific, longValue, referenceValue
-
Method Details
-
generalize
Description copied from class:ValueReturns the generalization of this Value and the given other Value.- Specified by:
generalizein classValue
-
isCategory2
public boolean isCategory2()Description copied from class:ValueReturns whether the computational type of this Value is a category 2 type. This means that it takes up the space of two category 1 types on the stack, for instance.- Specified by:
isCategory2in classValue
-
computationalType
public int computationalType()Description copied from class:ValueReturns the computational type of this Value.- Specified by:
computationalTypein classValue- Returns:
TYPE_INTEGER,TYPE_LONG,TYPE_FLOAT,TYPE_DOUBLE,TYPE_REFERENCE, orTYPE_INSTRUCTION_OFFSET.
-
internalType
Description copied from class:ValueReturns the internal type of this Value.- Specified by:
internalTypein classValue- Returns:
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).
-
hashCode
public int hashCode() -
equals
-
toString
-