IdGenerator.java
01 package net.sourceforge.pmd.lang.ast.xpath.saxon; 02 03 /** 04 * This class is used to generate unique IDs for nodes. 05 */ 06 public class IdGenerator { 07 private int id; 08 09 public int getNextId() { 10 return id++; 11 } 12 }