View Javadoc

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