com.ibm.wala.analysis.typeInference
Class TypeInference.DeclaredTypeOperator
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<T>
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.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TypeInference.DeclaredTypeOperator
public TypeInference.DeclaredTypeOperator(TypeAbstraction type)
evaluate
public byte evaluate(TypeVariable lhs)
- Note that we need evaluate this operator at most once
- Specified by:
evaluate in class NullaryOperator<TypeVariable>
- Returns:
- true if the lhs value changes. false otherwise.
toString
public java.lang.String toString()
- Specified by:
toString in class AbstractOperator<TypeVariable>
- See Also:
Object.toString()
isNullary
public boolean isNullary()
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>