com.ibm.wala.analysis.typeInference
Class TypeInference.DeclaredTypeOperator

java.lang.Object
  extended by com.ibm.wala.fixpoint.AbstractOperator<T>
      extended by com.ibm.wala.fixedpoint.impl.NullaryOperator<TypeVariable>
          extended by 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 com.ibm.wala.fixpoint.FixedPointConstants
CHANGED, CHANGED_AND_FIXED, CHANGED_MASK, FIXED_MASK, NOT_CHANGED, NOT_CHANGED_AND_FIXED, SIDE_EFFECT_MASK
 
Constructor Summary
TypeInference.DeclaredTypeOperator(TypeAbstraction type)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 byte evaluate(TypeVariable lhs)
          Note that we need evaluate this operator at most once
 int hashCode()
           
 boolean isNullary()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.fixedpoint.impl.NullaryOperator
evaluate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeInference.DeclaredTypeOperator

public TypeInference.DeclaredTypeOperator(TypeAbstraction type)
Method Detail

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>