@Override protected JSRELine clone() { JSRELine copy = new JSRELine(); copy.body = body; copy.id = id.clone(); copy.label = label; for (Map.Entry<Integer, String[]> entry : tokenMap.entrySet()) { copy.tokenMap.put(entry.getKey(), entry.getValue()); } // end foreach entry return copy; }
/** @return An instance of ID class in line */ public ID getId() { return id.clone(); }