class RuleMethodRewriter extends java.lang.Object implements RuleMethodProcessor
Modifier and Type | Field and Description |
---|---|
private int |
actionNr |
private InstructionGroup |
group |
private RuleMethod |
method |
private int |
varInitNr |
Constructor and Description |
---|
RuleMethodRewriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(ParserClassNode classNode,
RuleMethod method) |
private void |
createNewGroupClassInstance() |
private void |
initializeFields() |
private void |
insert(org.objectweb.asm.tree.AbstractInsnNode insn) |
void |
process(ParserClassNode classNode,
RuleMethod method) |
private void |
removeGroupRootInstruction() |
private RuleMethod method
private InstructionGroup group
private int actionNr
private int varInitNr
public boolean appliesTo(ParserClassNode classNode, RuleMethod method)
appliesTo
in interface RuleMethodProcessor
public void process(ParserClassNode classNode, RuleMethod method) throws java.lang.Exception
process
in interface RuleMethodProcessor
java.lang.Exception
private void createNewGroupClassInstance()
private void initializeFields()
private void insert(org.objectweb.asm.tree.AbstractInsnNode insn)
private void removeGroupRootInstruction()