polyglot.visit
Class DeadCodeEliminator.DataFlowItem
java.lang.Object
polyglot.visit.DataFlow.Item
polyglot.visit.DeadCodeEliminator.DataFlowItem
- Enclosing class:
- DeadCodeEliminator
protected static class DeadCodeEliminator.DataFlowItem
- extends DataFlow.Item
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DeadCodeEliminator.DataFlowItem
protected DeadCodeEliminator.DataFlowItem()
- Constructor for creating an empty set.
DeadCodeEliminator.DataFlowItem
protected DeadCodeEliminator.DataFlowItem(DeadCodeEliminator.DataFlowItem dfi)
- Deep copy constructor.
add
public void add(LocalInstance li)
addAll
public void addAll(java.util.Set lis)
remove
public void remove(LocalInstance li)
removeAll
public void removeAll(java.util.Set lis)
removeDecl
public void removeDecl(LocalInstance li)
union
public void union(DeadCodeEliminator.DataFlowItem dfi)
needDecl
protected boolean needDecl(LocalInstance li)
needDef
protected boolean needDef(LocalInstance li)
hashCode
public int hashCode()
- Specified by:
hashCode
in class DataFlow.Item
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class DataFlow.Item
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object