1
2
3
4 package net.sourceforge.pmd.lang.dfa;
5
6
7 public class StackObject {
8
9
10 private int type;
11 private DataFlowNode node;
12
13 public StackObject(int type, DataFlowNode node) {
14 this.type = type;
15 this.node = node;
16 }
17
18 public DataFlowNode getDataFlowNode() {
19 return this.node;
20 }
21
22 public int getType() {
23 return this.type;
24 }
25
26 public String toString()
27 {
28 return ( "StackObject: type=" + NodeType.stringFromType(type)+ "(" +type + "), node=" + node.toString() );
29
30 }
31 }