|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.optimize.evaluation.value.Value
proguard.optimize.evaluation.value.Category2Value
proguard.optimize.evaluation.value.LongValue
This class represents a partially evaluated long value.
| Field Summary |
| Fields inherited from class proguard.optimize.evaluation.value.Value |
ALWAYS, MAYBE, NEVER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INSTRUCTION_OFFSET, TYPE_INTEGER, TYPE_LONG, TYPE_REFERENCE |
| Constructor Summary | |
LongValue()
|
|
| Method Summary | |
LongValue |
add(LongValue other)
Returns the sum of this LongValue and the given LongValue. |
LongValue |
add(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the sum of this LongValue and the given SpecificLongValue. |
LongValue |
and(LongValue other)
Returns the logical and of this LongValue and the given LongValue. |
LongValue |
and(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the logical and of this LongValue and the given SpecificLongValue. |
proguard.optimize.evaluation.value.Category2Value |
category2Value()
Returns this Value as a Category2Value. |
IntegerValue |
compare(LongValue other)
Returns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively. |
IntegerValue |
compare(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given SpecificLongValue, respectively. |
IntegerValue |
compareReverse(LongValue other)
Returns an IntegerValue with value 1, 0, or -1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively. |
IntegerValue |
compareReverse(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns an IntegerValue with value 1, 0, or -1, if this LongValue is less than, equal to, or greater than the given SpecificLongValue, respectively. |
int |
computationalType()
Returns the computational type of this Value. |
DoubleValue |
convertToDouble()
Converts this LongValue to a DoubleValue. |
FloatValue |
convertToFloat()
Converts this LongValue to a FloatValue. |
IntegerValue |
convertToInteger()
Converts this LongValue to an IntegerValue. |
LongValue |
divide(LongValue other)
Returns the quotient of this LongValue and the given LongValue. |
LongValue |
divide(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the quotient of this LongValue and the given SpecificLongValue. |
LongValue |
divideOf(LongValue other)
Returns the quotient of the given LongValue and this LongValue. |
LongValue |
divideOf(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the quotient of the given SpecificLongValue and this LongValue. |
boolean |
equals(Object object)
|
LongValue |
generalize(LongValue other)
Returns the generalization of this LongValue and the given other LongValue. |
LongValue |
generalize(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the generalization of this LongValue and the given other SpecificLongValue. |
Value |
generalize(Value other)
Returns the generalization of this Value and the given other Value. |
int |
hashCode()
|
boolean |
isCategory2()
Returns whether the computational type of this Value is a category 2 type. |
LongValue |
longValue()
Returns this Value as a LongValue. |
LongValue |
multiply(LongValue other)
Returns the product of this LongValue and the given LongValue. |
LongValue |
multiply(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the product of this LongValue and the given SpecificLongValue. |
LongValue |
negate()
Returns the negated value of this LongValue. |
LongValue |
or(LongValue other)
Returns the logical or of this LongValue and the given LongValue. |
LongValue |
or(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the logical or of this LongValue and the given SpecificLongValue. |
LongValue |
remainder(LongValue other)
Returns the remainder of this LongValue divided by the given LongValue. |
LongValue |
remainder(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the remainder of this LongValue divided by the given SpecificLongValue. |
LongValue |
remainderOf(LongValue other)
Returns the remainder of the given LongValue divided by this LongValue. |
LongValue |
remainderOf(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the remainder of the given SpecificLongValue and this LongValue. |
LongValue |
shiftLeft(IntegerValue other)
Returns this LongValue, shifted left by the given IntegerValue. |
LongValue |
shiftRight(IntegerValue other)
Returns this LongValue, shifted right by the given IntegerValue. |
LongValue |
subtract(LongValue other)
Returns the difference of this LongValue and the given LongValue. |
LongValue |
subtract(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the difference of this LongValue and the given SpecificLongValue. |
LongValue |
subtractFrom(LongValue other)
Returns the difference of the given LongValue and this LongValue. |
LongValue |
subtractFrom(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the difference of the given SpecificLongValue and this LongValue. |
String |
toString()
|
LongValue |
unsignedShiftRight(IntegerValue other)
Returns this unsigned LongValue, shifted left by the given IntegerValue. |
long |
value()
Returns the specific long value, if applicable. |
LongValue |
xor(LongValue other)
Returns the logical xor of this LongValue and the given LongValue. |
LongValue |
xor(proguard.optimize.evaluation.value.SpecificLongValue other)
Returns the logical xor of this LongValue and the given SpecificLongValue. |
| Methods inherited from class proguard.optimize.evaluation.value.Value |
category1Value, doubleValue, floatValue, instructionOffsetValue, integerValue, isSpecific, referenceValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LongValue()
| Method Detail |
public long value()
public LongValue generalize(LongValue other)
public LongValue add(LongValue other)
public LongValue subtract(LongValue other)
public LongValue subtractFrom(LongValue other)
public LongValue multiply(LongValue other)
public LongValue divide(LongValue other)
public LongValue divideOf(LongValue other)
public LongValue remainder(LongValue other)
public LongValue remainderOf(LongValue other)
public LongValue shiftLeft(IntegerValue other)
public LongValue shiftRight(IntegerValue other)
public LongValue unsignedShiftRight(IntegerValue other)
public LongValue and(LongValue other)
public LongValue or(LongValue other)
public LongValue xor(LongValue other)
public IntegerValue compare(LongValue other)
public final IntegerValue compareReverse(LongValue other)
public LongValue negate()
public IntegerValue convertToInteger()
public FloatValue convertToFloat()
public DoubleValue convertToDouble()
public LongValue generalize(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue add(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue subtract(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue subtractFrom(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue multiply(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue divide(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue divideOf(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue remainder(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue remainderOf(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue and(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue or(proguard.optimize.evaluation.value.SpecificLongValue other)
public LongValue xor(proguard.optimize.evaluation.value.SpecificLongValue other)
public IntegerValue compare(proguard.optimize.evaluation.value.SpecificLongValue other)
public final IntegerValue compareReverse(proguard.optimize.evaluation.value.SpecificLongValue other)
public final LongValue longValue()
Value
longValue in class Valuepublic final Value generalize(Value other)
Value
generalize in class Valuepublic final int computationalType()
ValueTYPE_INTEGER
TYPE_LONG
TYPE_FLOAT
TYPE_DOUBLE
TYPE_REFERENCE
TYPE_INSTRUCTION_OFFSET
computationalType in class Valuepublic boolean equals(Object object)
public int hashCode()
public String toString()
public final proguard.optimize.evaluation.value.Category2Value category2Value()
Value
category2Value in class Valuepublic final boolean isCategory2()
Value
isCategory2 in class Value
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||