Package proguard.evaluation.value
Class CompositeIntegerValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.IntegerValue
-
- proguard.evaluation.value.SpecificIntegerValue
-
- proguard.evaluation.value.CompositeIntegerValue
-
public final class CompositeIntegerValue extends SpecificIntegerValue
ThisIntegerValue
represents the result of a binary operation on two integer values.
-
-
Field Summary
Fields Modifier and Type Field Description static byte
ADD
static byte
AND
static byte
DIVIDE
static byte
MULTIPLY
static byte
OR
static byte
REMAINDER
static byte
SHIFT_LEFT
static byte
SHIFT_RIGHT
static byte
SUBTRACT
static byte
UNSIGNED_SHIFT_RIGHT
static byte
XOR
-
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
-
-
Constructor Summary
Constructors Constructor Description CompositeIntegerValue(IntegerValue integerValue1, byte operation, IntegerValue integerValue2)
Creates a new composite integer value of the two given integer values and the given operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class proguard.evaluation.value.SpecificIntegerValue
add, add, add, and, and, and, convertToByte, convertToCharacter, convertToDouble, convertToFloat, convertToLong, convertToShort, divide, divide, divide, divideOf, divideOf, divideOf, equal, equal, equal, generalize, generalize, generalize, isSpecific, lessThan, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, lessThanOrEqual, multiply, multiply, multiply, negate, or, or, or, remainder, remainder, remainder, remainderOf, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftLeft, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftRight, shiftRight, shiftRight, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, subtract, subtract, subtract, subtractFrom, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, unsignedShiftRight, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, xor, xor, xor
-
Methods inherited from class proguard.evaluation.value.IntegerValue
add, add, and, and, computationalType, divide, divide, divideOf, divideOf, equal, equal, generalize, generalize, generalize, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, integerValue, internalType, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, multiply, multiply, notEqual, notEqual, notEqual, notEqual, notEqual, or, or, remainder, remainder, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftLeftOf, shiftRight, shiftRight, shiftRightOf, shiftRightOf, shiftRightOf, shiftRightOf, subtract, subtract, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, unsignedShiftRightOf, value, xor, xor
-
Methods inherited from class proguard.evaluation.value.Category1Value
category1Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category2Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, isParticular, longValue, referenceValue
-
-
-
-
Field Detail
-
ADD
public static final byte ADD
- See Also:
- Constant Field Values
-
SUBTRACT
public static final byte SUBTRACT
- See Also:
- Constant Field Values
-
MULTIPLY
public static final byte MULTIPLY
- See Also:
- Constant Field Values
-
DIVIDE
public static final byte DIVIDE
- See Also:
- Constant Field Values
-
REMAINDER
public static final byte REMAINDER
- See Also:
- Constant Field Values
-
SHIFT_LEFT
public static final byte SHIFT_LEFT
- See Also:
- Constant Field Values
-
SHIFT_RIGHT
public static final byte SHIFT_RIGHT
- See Also:
- Constant Field Values
-
UNSIGNED_SHIFT_RIGHT
public static final byte UNSIGNED_SHIFT_RIGHT
- See Also:
- Constant Field Values
-
AND
public static final byte AND
- See Also:
- Constant Field Values
-
OR
public static final byte OR
- See Also:
- Constant Field Values
-
XOR
public static final byte XOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompositeIntegerValue
public CompositeIntegerValue(IntegerValue integerValue1, byte operation, IntegerValue integerValue2)
Creates a new composite integer value of the two given integer values and the given operation.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classSpecificIntegerValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSpecificIntegerValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-