/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.dfa;
public class StackObject {
// @TODO make NodeType
private int type;
private DataFlowNode node;
public StackObject(int type, DataFlowNode node) {
this.type = type;
this.node = node;
}
public DataFlowNode getDataFlowNode() {
return this.node;
}
public int getType() {
return this.type;
}
@Override
public String toString() {
return ("StackObject: type=" + NodeType.stringFromType(type) + "(" + type + "), node=" + node.toString());
}
}