com.ibm.wala.analysis.typeInference
Class TypeInference.PrimitivePropagateOperator
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<TypeVariable>
com.ibm.wala.analysis.typeInference.TypeInference.PrimitivePropagateOperator
- All Implemented Interfaces:
- FixedPointConstants
- Direct Known Subclasses:
- AstJavaTypeInference.PrimAndStringOp
- Enclosing class:
- TypeInference
protected static class TypeInference.PrimitivePropagateOperator
- extends AbstractOperator<TypeVariable>
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TypeInference.PrimitivePropagateOperator
protected TypeInference.PrimitivePropagateOperator()
evaluate
public byte evaluate(TypeVariable lhs,
TypeVariable[] rhs)
- Description copied from class:
AbstractOperator
- Evaluate this equation, setting a new value for the left-hand side.
Note that the RHS is an IVariable[] and not a T[] because the framework may be need to allocate an array for the rhs, and we
cannot do new T[] in Java.
- Specified by:
evaluate in class AbstractOperator<TypeVariable>
- Returns:
- a code that indicates: 1) has the lhs value changed? 2) has this equation reached a fixed-point, in that we never have
to evaluate the equation again, even if rhs operands change?
toString
public java.lang.String toString()
- Specified by:
toString in class AbstractOperator<TypeVariable>
hashCode
public int hashCode()
- Specified by:
hashCode in class AbstractOperator<TypeVariable>
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in class AbstractOperator<TypeVariable>