protected void unwrapChoice(DPattern p) { if (p instanceof DChoicePattern && p.getAnnotation() == DAnnotation.EMPTY) { for (DPattern d : (DChoicePattern) p) { on(d); } } else { on(p); } }
protected void unwrapChoice(DPattern p) { if (p instanceof DChoicePattern && p.getAnnotation() == DAnnotation.EMPTY) { for (DPattern d : (DChoicePattern) p) { on(d); } } else { on(p); } }
protected void unwrapGroup(DPattern p) { if (p instanceof DGroupPattern && p.getAnnotation() == DAnnotation.EMPTY) { for (DPattern d : (DGroupPattern) p) { on(d); } } else { on(p); } }
protected void unwrapGroup(DPattern p) { if (p instanceof DGroupPattern && p.getAnnotation() == DAnnotation.EMPTY) { for (DPattern d : (DGroupPattern) p) { on(d); } } else { on(p); } }