Class TypeInference.DeclaredTypeOperator
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<TypeVariable>
com.ibm.wala.fixedpoint.impl.NullaryOperator<TypeVariable>
com.ibm.wala.analysis.typeInference.TypeInference.DeclaredTypeOperator
- All Implemented Interfaces:
FixedPointConstants
- Enclosing class:
TypeInference
protected static final class TypeInference.DeclaredTypeOperator
extends NullaryOperator<TypeVariable>
An operator which initializes a type to a declared type.
-
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
Methods inherited from class NullaryOperator
evaluateModifier and TypeMethodDescriptionbyteevaluate(TypeVariable lhs, TypeVariable[] rhs) Evaluate this equation, setting a new value for the left-hand side.
-
Constructor Details
-
DeclaredTypeOperator
-
-
Method Details
-
evaluate
Note that we need evaluate this operator at most once- Specified by:
evaluatein classNullaryOperator<TypeVariable>- Returns:
- a constant defined by
FixedPointConstantsthat reflects whether the lhs value changed
-
toString
- Specified by:
toStringin classAbstractOperator<TypeVariable>- See Also:
-
isNullary
public static boolean isNullary() -
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractOperator<TypeVariable>
-
equals
- Specified by:
equalsin classAbstractOperator<TypeVariable>
-