public void caseAElem(final AElem elem) { blist = false; if ((elem.getUnOp() != null) && ((elem.getUnOp() instanceof AStarUnOp) || (elem.getUnOp() instanceof APlusUnOp))) { blist = true; } String elem_name = (elem.getElemName() != null ? elem.getElemName().getText() : elem.getId().getText()); if (!blist) { listElems.add(elem_name); } else { listElemslist.add(elem_name); } listElemsGlobal.add(elem_name); }