Package proguard.evaluation.value
Class NegatedIntegerValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category1Value
-
- proguard.evaluation.value.IntegerValue
-
- proguard.evaluation.value.SpecificIntegerValue
-
- proguard.evaluation.value.NegatedIntegerValue
-
public final class NegatedIntegerValue extends SpecificIntegerValue
ThisIntegerValue
represents a integer value that is negated.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description NegatedIntegerValue(IntegerValue integerValue)
Creates a new negated integer value of the given integer value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
IntegerValue
negate()
Returns the negated value of this IntegerValue.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, 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
-
-
-
-
Constructor Detail
-
NegatedIntegerValue
public NegatedIntegerValue(IntegerValue integerValue)
Creates a new negated integer value of the given integer value.
-
-
Method Detail
-
negate
public IntegerValue negate()
Description copied from class:IntegerValue
Returns the negated value of this IntegerValue.- Overrides:
negate
in classSpecificIntegerValue
-
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
-
-