01: package net.sourceforge.pmd.dfa;
02:
03: public class StackObject {
04:
05: private int type;
06: private IDataFlowNode node;
07:
08: protected StackObject(int type, IDataFlowNode node) {
09: this .type = type;
10: this .node = node;
11: }
12:
13: public IDataFlowNode getDataFlowNode() {
14: return this .node;
15: }
16:
17: public int getType() {
18: return this.type;
19: }
20: }
|