|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.evaluation.value.Value
proguard.evaluation.value.Category1Value
proguard.evaluation.value.TopValue
public class TopValue
This class represents a partially evaluated top value. A top value is the dummy value that takes up the extra space when storing a long value or a double value.
| 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 |
| Constructor Summary | |
|---|---|
TopValue()
|
|
| Method Summary | |
|---|---|
int |
computationalType()
Returns the computational type of this Value. |
boolean |
equals(java.lang.Object object)
|
Value |
generalize(Value other)
Returns the generalization of this Value and the given other Value. |
int |
hashCode()
|
java.lang.String |
internalType()
Returns the internal type of this Value. |
boolean |
isParticular()
Returns whether this Value represents a single particular (known) value. |
boolean |
isSpecific()
Returns whether this Value represents a single specific (but possibly unknown) value. |
java.lang.String |
toString()
|
| Methods inherited from class proguard.evaluation.value.Category1Value |
|---|
category1Value, isCategory2 |
| Methods inherited from class proguard.evaluation.value.Value |
|---|
category2Value, doubleValue, floatValue, instructionOffsetValue, integerValue, longValue, referenceValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TopValue()
| Method Detail |
|---|
public boolean isSpecific()
Value
isSpecific in class Valuepublic boolean isParticular()
Value
isParticular in class Valuepublic final Value generalize(Value other)
Value
generalize in class Valuepublic final int computationalType()
Value
computationalType in class ValueTYPE_INTEGER,
TYPE_LONG,
TYPE_FLOAT,
TYPE_DOUBLE,
TYPE_REFERENCE, or
TYPE_INSTRUCTION_OFFSET.public final java.lang.String internalType()
Value
internalType in class ValueClassConstants.INTERNAL_TYPE_BOOLEAN,
ClassConstants.INTERNAL_TYPE_BYTE,
ClassConstants.INTERNAL_TYPE_CHAR,
ClassConstants.INTERNAL_TYPE_SHORT,
ClassConstants.INTERNAL_TYPE_INT,
ClassConstants.INTERNAL_TYPE_LONG,
ClassConstants.INTERNAL_TYPE_FLOAT,
ClassConstants.INTERNAL_TYPE_DOUBLE,
ClassConstants.INTERNAL_TYPE_CLASS_START ... ClassConstants.INTERNAL_TYPE_CLASS_END, or
an array type containing any of these types (always as String).public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||