Class PrefixTransferFunction
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<PrefixVariable>
com.ibm.wala.fixpoint.UnaryOperator<PrefixVariable>
org.scandroid.prefixtransfer.PrefixTransferFunction
- All Implemented Interfaces:
FixedPointConstants
-
Field Summary
Fields inherited from interface FixedPointConstants
CHANGED, CHANGED_AND_FIXED, CHANGED_MASK, FIXED_MASK, NOT_CHANGED, NOT_CHANGED_AND_FIXED, SIDE_EFFECT_MASKModifier and TypeFieldDescriptionstatic final byteA return value which indicates that a lhs has changed, and the statement might need to be evaluated again.static final byteA return value which indicates that lhs has changed, and the statement need not be evaluated again.static final intThe bit-mask which defines the "CHANGED" flagstatic final intThe bit-mask which defines the "FIXED" flagstatic final byteA return value which indicates that lhs has not changed, and the statement might need to be evaluated again.static final byteA return value which indicates that lhs has not changed, and the statement need not be evaluated again.static final intThe bit-mask which defines the "SIDE EFFECT" flag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyteevaluate(PrefixVariable lhs, PrefixVariable rhs) Evaluate this equation, setting a new value for the left-hand side.inthashCode()toString()Methods inherited from class UnaryOperator
evaluate, isIdentity, makeEquationModifier and TypeMethodDescriptionbyteevaluate(PrefixVariable lhs, PrefixVariable[] rhs) Evaluate this equation, setting a new value for the left-hand side.booleanmakeEquation(PrefixVariable lhs, PrefixVariable rhs) Create an equation which uses this operator Override in subclasses for efficiency.
-
Constructor Details
-
PrefixTransferFunction
-
-
Method Details
-
evaluate
Description copied from class:UnaryOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classUnaryOperator<PrefixVariable>- Returns:
- a constant defined by
FixedPointConstantsthat reflects whether the lhs value changed
-
equals
- Specified by:
equalsin classAbstractOperator<PrefixVariable>
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractOperator<PrefixVariable>
-
toString
- Specified by:
toStringin classAbstractOperator<PrefixVariable>
-