Package proguard.evaluation.value
Class SpecificLongValue
java.lang.Object
proguard.evaluation.value.Value
proguard.evaluation.value.Category2Value
proguard.evaluation.value.LongValue
proguard.evaluation.value.SpecificLongValue
- Direct Known Subclasses:
CompositeLongValue,ConvertedLongValue,IdentifiedLongValue,NegatedLongValue,ParticularLongValue
This
LongValue represents a specific long 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, TYPE_UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the sum of this LongValue and the given LongValue.add(SpecificLongValue other) Returns the sum of this LongValue and the given SpecificLongValue.Returns the logical and of this LongValue and the given LongValue.and(SpecificLongValue other) Returns the logical and of this LongValue and the given SpecificLongValue.Returns an IntegerValue with value -1, 0, or 1, if this LongValue is less than, equal to, or greater than the given LongValue, respectively.compare(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.Converts this LongValue to a DoubleValue.Converts this LongValue to a FloatValue.Converts this LongValue to an IntegerValue.Returns the quotient of this LongValue and the given LongValue.divide(SpecificLongValue other) Returns the quotient of this LongValue and the given SpecificLongValue.Returns the quotient of the given LongValue and this LongValue.divideOf(SpecificLongValue other) Returns the quotient of the given SpecificLongValue and this LongValue.booleangeneralize(LongValue other) Returns the generalization of this LongValue and the given other LongValue.generalize(SpecificLongValue other) Returns the generalization of this LongValue and the given other SpecificLongValue.inthashCode()booleanReturns whether this Value represents a single specific (but possibly unknown) value.Returns the product of this LongValue and the given LongValue.multiply(SpecificLongValue other) Returns the product of this LongValue and the given SpecificLongValue.negate()Returns the negated value of this LongValue.Returns the logical or of this LongValue and the given LongValue.or(SpecificLongValue other) Returns the logical or of this LongValue and the given SpecificLongValue.Returns the remainder of this LongValue divided by the given LongValue.remainder(SpecificLongValue other) Returns the remainder of this LongValue divided by the given SpecificLongValue.remainderOf(LongValue other) Returns the remainder of the given LongValue divided by this LongValue.remainderOf(SpecificLongValue other) Returns the remainder of the given SpecificLongValue divided by this LongValue.shiftLeft(IntegerValue other) Returns this LongValue, shifted left by the given IntegerValue.shiftLeft(SpecificLongValue other) Returns this LongValue, shifted left by the given SpecificLongValue.shiftRight(IntegerValue other) Returns this LongValue, shifted right by the given IntegerValue.shiftRight(SpecificLongValue other) Returns this LongValue, shifted right by the given SpecificLongValue.Returns the difference of this LongValue and the given LongValue.subtract(SpecificLongValue other) Returns the difference of this LongValue and the given SpecificLongValue.subtractFrom(LongValue other) Returns the difference of the given LongValue and this LongValue.subtractFrom(SpecificLongValue other) Returns the difference of the given SpecificLongValue and this LongValue.unsignedShiftRight(IntegerValue other) Returns this unsigned LongValue, shifted left by the given IntegerValue.Returns this unsigned LongValue, shifted right by the given SpecificLongValue.Returns the logical xor of this LongValue and the given LongValue.xor(SpecificLongValue other) Returns the logical xor of this LongValue and the given SpecificLongValue.Methods inherited from class proguard.evaluation.value.LongValue
add, and, compare, compareReverse, compareReverse, compareReverse, computationalType, divide, divideOf, generalize, generalize, internalType, longValue, multiply, or, remainder, remainderOf, shiftLeft, shiftRight, subtract, subtractFrom, unsignedShiftRight, value, xorMethods inherited from class proguard.evaluation.value.Category2Value
category2Value, isCategory2Methods inherited from class proguard.evaluation.value.Value
category1Value, copyIfMutable, doubleValue, floatValue, instructionOffsetValue, integerValue, isParticular, referenceValue
-
Constructor Details
-
SpecificLongValue
public SpecificLongValue()
-
-
Method Details
-
negate
Description copied from class:LongValueReturns the negated value of this LongValue. -
convertToInteger
Description copied from class:LongValueConverts this LongValue to an IntegerValue.- Specified by:
convertToIntegerin classLongValue
-
convertToFloat
Description copied from class:LongValueConverts this LongValue to a FloatValue.- Specified by:
convertToFloatin classLongValue
-
convertToDouble
Description copied from class:LongValueConverts this LongValue to a DoubleValue.- Specified by:
convertToDoublein classLongValue
-
generalize
Description copied from class:LongValueReturns the generalization of this LongValue and the given other LongValue.- Overrides:
generalizein classLongValue
-
add
Description copied from class:LongValueReturns the sum of this LongValue and the given LongValue. -
subtract
Description copied from class:LongValueReturns the difference of this LongValue and the given LongValue. -
subtractFrom
Description copied from class:LongValueReturns the difference of the given LongValue and this LongValue.- Overrides:
subtractFromin classLongValue
-
multiply
Description copied from class:LongValueReturns the product of this LongValue and the given LongValue. -
divide
Description copied from class:LongValueReturns the quotient of this LongValue and the given LongValue.- Overrides:
dividein classLongValue- Throws:
ArithmeticException
-
divideOf
Description copied from class:LongValueReturns the quotient of the given LongValue and this LongValue.- Overrides:
divideOfin classLongValue- Throws:
ArithmeticException
-
remainder
Description copied from class:LongValueReturns the remainder of this LongValue divided by the given LongValue.- Overrides:
remainderin classLongValue- Throws:
ArithmeticException
-
remainderOf
Description copied from class:LongValueReturns the remainder of the given LongValue divided by this LongValue.- Overrides:
remainderOfin classLongValue- Throws:
ArithmeticException
-
shiftLeft
Description copied from class:LongValueReturns this LongValue, shifted left by the given IntegerValue. -
shiftRight
Description copied from class:LongValueReturns this LongValue, shifted right by the given IntegerValue.- Overrides:
shiftRightin classLongValue
-
unsignedShiftRight
Description copied from class:LongValueReturns this unsigned LongValue, shifted left by the given IntegerValue.- Overrides:
unsignedShiftRightin classLongValue
-
and
Description copied from class:LongValueReturns the logical and of this LongValue and the given LongValue. -
or
Description copied from class:LongValueReturns the logical or of this LongValue and the given LongValue. -
xor
Description copied from class:LongValueReturns the logical xor of this LongValue and the given LongValue. -
compare
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. -
generalize
Description copied from class:LongValueReturns the generalization of this LongValue and the given other SpecificLongValue.- Overrides:
generalizein classLongValue
-
add
Description copied from class:LongValueReturns the sum of this LongValue and the given SpecificLongValue. -
subtract
Description copied from class:LongValueReturns the difference of this LongValue and the given SpecificLongValue. -
subtractFrom
Description copied from class:LongValueReturns the difference of the given SpecificLongValue and this LongValue.- Overrides:
subtractFromin classLongValue
-
multiply
Description copied from class:LongValueReturns the product of this LongValue and the given SpecificLongValue. -
divide
Description copied from class:LongValueReturns the quotient of this LongValue and the given SpecificLongValue.- Overrides:
dividein classLongValue- Throws:
ArithmeticException
-
divideOf
Description copied from class:LongValueReturns the quotient of the given SpecificLongValue and this LongValue.- Overrides:
divideOfin classLongValue- Throws:
ArithmeticException
-
remainder
Description copied from class:LongValueReturns the remainder of this LongValue divided by the given SpecificLongValue.- Overrides:
remainderin classLongValue- Throws:
ArithmeticException
-
remainderOf
Description copied from class:LongValueReturns the remainder of the given SpecificLongValue divided by this LongValue.- Overrides:
remainderOfin classLongValue- Throws:
ArithmeticException
-
shiftLeft
Description copied from class:LongValueReturns this LongValue, shifted left by the given SpecificLongValue. -
shiftRight
Description copied from class:LongValueReturns this LongValue, shifted right by the given SpecificLongValue.- Overrides:
shiftRightin classLongValue
-
unsignedShiftRight
Description copied from class:LongValueReturns this unsigned LongValue, shifted right by the given SpecificLongValue.- Overrides:
unsignedShiftRightin classLongValue
-
and
Description copied from class:LongValueReturns the logical and of this LongValue and the given SpecificLongValue. -
or
Description copied from class:LongValueReturns the logical or of this LongValue and the given SpecificLongValue. -
xor
Description copied from class:LongValueReturns the logical xor of this LongValue and the given SpecificLongValue. -
compare
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 SpecificLongValue, respectively. -
isSpecific
public boolean isSpecific()Description copied from class:ValueReturns whether this Value represents a single specific (but possibly unknown) value.- Overrides:
isSpecificin classValue
-
equals
-
hashCode
public int hashCode()
-