protected Pda<ISerState, RuleCall> createPDA(Action action) { SerializerActionCfg cfg = new SerializerActionCfg(action); SerializerActionFollowerFunction ff = new SerializerActionFollowerFunction(cfg, action); SerializerPDAElementFactory fact = new SerializerPDAElementFactory(); Pda<ISerState, RuleCall> actionpda = pdaUtil.create(cfg, ff, fact); SerializerPDAGetToken getToken = new SerializerPDAGetToken(); Pda<ISerState, RuleCall> expandedpda = pdaUtil.expand(actionpda, new ExpandRuleCalls(), getToken, fact); Pda<ISerState, RuleCall> filteredpda = pdaUtil.filterOrphans(expandedpda, new SerializerPDACloneFactory()); return filteredpda; }