Package proguard.evaluation.value
Class UnknownLongValue
- java.lang.Object
-
- proguard.evaluation.value.Value
-
- proguard.evaluation.value.Category2Value
-
- proguard.evaluation.value.LongValue
-
- proguard.evaluation.value.UnknownLongValue
-
-
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 UnknownLongValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongValueadd(LongValue other)Returns the sum of this LongValue and the given LongValue.LongValueand(LongValue other)Returns the logical and of this LongValue and the given LongValue.IntegerValuecompare(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.DoubleValueconvertToDouble()Converts this LongValue to a DoubleValue.FloatValueconvertToFloat()Converts this LongValue to a FloatValue.IntegerValueconvertToInteger()Converts this LongValue to an IntegerValue.LongValuedivide(LongValue other)Returns the quotient of this LongValue and the given LongValue.LongValuedivideOf(LongValue other)Returns the quotient of the given LongValue and this LongValue.booleanequals(java.lang.Object object)LongValuegeneralize(LongValue other)Returns the generalization of this LongValue and the given other LongValue.inthashCode()LongValuemultiply(LongValue other)Returns the product of this LongValue and the given LongValue.LongValuenegate()Returns the negated value of this LongValue.LongValueor(LongValue other)Returns the logical or of this LongValue and the given LongValue.LongValueremainder(LongValue other)Returns the remainder of this LongValue divided by the given LongValue.LongValueremainderOf(LongValue other)Returns the remainder of the given LongValue divided by this LongValue.LongValueshiftLeft(IntegerValue other)Returns this LongValue, shifted left by the given IntegerValue.LongValueshiftRight(IntegerValue other)Returns this LongValue, shifted right by the given IntegerValue.LongValuesubtract(LongValue other)Returns the difference of this LongValue and the given LongValue.LongValuesubtractFrom(LongValue other)Returns the difference of the given LongValue and this LongValue.java.lang.StringtoString()LongValueunsignedShiftRight(IntegerValue other)Returns this unsigned LongValue, shifted left by the given IntegerValue.LongValuexor(LongValue other)Returns the logical xor of this LongValue and the given LongValue.-
Methods inherited from class proguard.evaluation.value.LongValue
add, add, and, and, compare, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divide, divideOf, divideOf, generalize, generalize, generalize, internalType, longValue, multiply, multiply, or, or, remainder, remainder, remainderOf, remainderOf, shiftLeft, shiftLeft, shiftRight, shiftRight, subtract, subtract, subtractFrom, subtractFrom, unsignedShiftRight, unsignedShiftRight, value, xor, xor
-
Methods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2
-
Methods inherited from class proguard.evaluation.value.Value
category1Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, isSpecific, referenceValue
-
-
-
-
Method Detail
-
negate
public LongValue negate()
Description copied from class:LongValueReturns the negated value of this LongValue.
-
convertToInteger
public IntegerValue convertToInteger()
Description copied from class:LongValueConverts this LongValue to an IntegerValue.- Specified by:
convertToIntegerin classLongValue
-
convertToFloat
public FloatValue convertToFloat()
Description copied from class:LongValueConverts this LongValue to a FloatValue.- Specified by:
convertToFloatin classLongValue
-
convertToDouble
public DoubleValue convertToDouble()
Description copied from class:LongValueConverts this LongValue to a DoubleValue.- Specified by:
convertToDoublein classLongValue
-
generalize
public LongValue generalize(LongValue other)
Description copied from class:LongValueReturns the generalization of this LongValue and the given other LongValue.- Overrides:
generalizein classLongValue
-
add
public LongValue add(LongValue other)
Description copied from class:LongValueReturns the sum of this LongValue and the given LongValue.
-
subtract
public LongValue subtract(LongValue other)
Description copied from class:LongValueReturns the difference of this LongValue and the given LongValue.
-
subtractFrom
public LongValue subtractFrom(LongValue other)
Description copied from class:LongValueReturns the difference of the given LongValue and this LongValue.- Overrides:
subtractFromin classLongValue
-
multiply
public LongValue multiply(LongValue other) throws java.lang.ArithmeticException
Description copied from class:LongValueReturns the product of this LongValue and the given LongValue.
-
divide
public LongValue divide(LongValue other) throws java.lang.ArithmeticException
Description copied from class:LongValueReturns the quotient of this LongValue and the given LongValue.
-
divideOf
public LongValue divideOf(LongValue other) throws java.lang.ArithmeticException
Description copied from class:LongValueReturns the quotient of the given LongValue and this LongValue.
-
remainder
public LongValue remainder(LongValue other) throws java.lang.ArithmeticException
Description copied from class:LongValueReturns the remainder of this LongValue divided by the given LongValue.
-
remainderOf
public LongValue remainderOf(LongValue other) throws java.lang.ArithmeticException
Description copied from class:LongValueReturns the remainder of the given LongValue divided by this LongValue.- Overrides:
remainderOfin classLongValue- Throws:
java.lang.ArithmeticException
-
shiftLeft
public LongValue shiftLeft(IntegerValue other)
Description copied from class:LongValueReturns this LongValue, shifted left by the given IntegerValue.
-
shiftRight
public LongValue shiftRight(IntegerValue other)
Description copied from class:LongValueReturns this LongValue, shifted right by the given IntegerValue.- Overrides:
shiftRightin classLongValue
-
unsignedShiftRight
public LongValue unsignedShiftRight(IntegerValue other)
Description copied from class:LongValueReturns this unsigned LongValue, shifted left by the given IntegerValue.- Overrides:
unsignedShiftRightin classLongValue
-
and
public LongValue and(LongValue other)
Description copied from class:LongValueReturns the logical and of this LongValue and the given LongValue.
-
or
public LongValue or(LongValue other)
Description copied from class:LongValueReturns the logical or of this LongValue and the given LongValue.
-
xor
public LongValue xor(LongValue other)
Description copied from class:LongValueReturns the logical xor of this LongValue and the given LongValue.
-
compare
public IntegerValue compare(LongValue other)
Description copied from class:LongValueReturns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively.
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-