|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| StackObject.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | package net.sourceforge.pmd.dfa; | |
| 2 | ||
| 3 | public class StackObject { | |
| 4 | ||
| 5 | private int type; | |
| 6 | private IDataFlowNode node; | |
| 7 | ||
| 8 | 216 | protected StackObject(int type, IDataFlowNode node) { |
| 9 | 216 | this.type = type; |
| 10 | 216 | this.node = node; |
| 11 | } | |
| 12 | ||
| 13 | 211 | public IDataFlowNode getDataFlowNode() { |
| 14 | 211 | return this.node; |
| 15 | } | |
| 16 | ||
| 17 | 720 | public int getType() { |
| 18 | 720 | return this.type; |
| 19 | } | |
| 20 | } |
|
||||||||||