View Javadoc

    1   /**
    2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
    3    */
    4   package net.sourceforge.pmd.lang.dfa;
    5
    6
    7   public class StackObject {
    8
    9       private int type;
    10      private DataFlowNode node;
    11
    12      public StackObject(int type, DataFlowNode node) {
    13          this.type = type;
    14          this.node = node;
    15      }
    16
    17      public DataFlowNode getDataFlowNode() {
    18          return this.node;
    19      }
    20
    21      public int getType() {
    22          return this.type;
    23      }
    24  }