class RuleMethod
extends org.objectweb.asm.tree.MethodNode
Modifier and Type | Field and Description |
---|---|
private boolean |
bodyRewritten |
private boolean |
containsExplicitActions |
private boolean |
containsImplicitActions |
private boolean |
containsPotentialSuperCalls |
private boolean |
containsVars |
private java.util.List<InstructionGraphNode> |
graphNodes |
private java.util.List<InstructionGroup> |
groups |
private boolean |
hasCachedAnnotation |
private boolean |
hasDontExtend |
private boolean |
hasDontLabelAnnotation |
private boolean |
hasExplicitActionOnlyAnnotation |
private boolean |
hasMemoMismatchesAnnotation |
private boolean |
hasSkipActionsInPredicatesAnnotation |
private boolean |
hasSkipNodeAnnotation |
private boolean |
hasSuppressNodeAnnotation |
private boolean |
hasSuppressSubnodesAnnotation |
private java.util.List<org.objectweb.asm.tree.LocalVariableNode> |
localVarVariables |
private int |
numberOfReturns |
private java.lang.Class<?> |
ownerClass |
private int |
parameterCount |
private InstructionGraphNode |
returnInstructionNode |
private boolean |
skipGeneration |
private java.util.List<org.objectweb.asm.tree.LabelNode> |
usedLabels |
access, annotationDefault, attrs, desc, exceptions, instructions, invisibleAnnotableParameterCount, invisibleAnnotations, invisibleLocalVariableAnnotations, invisibleParameterAnnotations, invisibleTypeAnnotations, localVariables, maxLocals, maxStack, name, parameters, signature, tryCatchBlocks, visibleAnnotableParameterCount, visibleAnnotations, visibleLocalVariableAnnotations, visibleParameterAnnotations, visibleTypeAnnotations
Constructor and Description |
---|
RuleMethod(java.lang.Class<?> ownerClass,
int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions,
boolean hasExplicitActionOnlyAnno,
boolean hasDontLabelAnno,
boolean hasSkipActionsInPredicates) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsExplicitActions() |
boolean |
containsImplicitActions() |
boolean |
containsPotentialSuperCalls() |
boolean |
containsVars() |
void |
dontSkipGeneration() |
java.util.List<InstructionGraphNode> |
getGraphNodes() |
java.util.List<InstructionGroup> |
getGroups() |
java.util.List<org.objectweb.asm.tree.LocalVariableNode> |
getLocalVarVariables() |
int |
getNumberOfReturns() |
java.lang.Class<?> |
getOwnerClass() |
int |
getParameterCount() |
InstructionGraphNode |
getReturnInstructionNode() |
java.util.List<org.objectweb.asm.tree.LabelNode> |
getUsedLabels() |
boolean |
hasCachedAnnotation() |
boolean |
hasDontExtend() |
boolean |
hasDontLabelAnnotation() |
boolean |
hasMemoMismatchesAnnotation() |
boolean |
hasSkipActionsInPredicatesAnnotation() |
boolean |
hasSkipNodeAnnotation() |
boolean |
hasSuppressNodeAnnotation() |
boolean |
hasSuppressSubnodesAnnotation() |
boolean |
isBodyRewritten() |
boolean |
isGenerationSkipped() |
boolean |
isSuperMethod() |
void |
moveFlagsTo(RuleMethod overridingMethod) |
void |
setBodyRewritten() |
void |
setContainsExplicitActions(boolean containsExplicitActions) |
void |
setContainsImplicitActions(boolean containsImplicitActions) |
InstructionGraphNode |
setGraphNode(org.objectweb.asm.tree.AbstractInsnNode insn,
org.objectweb.asm.tree.analysis.BasicValue resultValue,
java.util.List<org.objectweb.asm.tree.analysis.BasicValue> predecessors) |
void |
setReturnInstructionNode(InstructionGraphNode returnInstructionNode) |
void |
suppressNode() |
java.lang.String |
toString() |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String desc,
boolean visible) |
void |
visitInsn(int opcode) |
void |
visitJumpInsn(int opcode,
org.objectweb.asm.Label label) |
void |
visitLineNumber(int line,
org.objectweb.asm.Label start) |
void |
visitLocalVariable(java.lang.String name,
java.lang.String desc,
java.lang.String signature,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end,
int index) |
void |
visitLookupSwitchInsn(org.objectweb.asm.Label dflt,
int[] keys,
org.objectweb.asm.Label[] labels) |
void |
visitMethodInsn(int opcode,
java.lang.String owner,
java.lang.String name,
java.lang.String desc) |
void |
visitTableSwitchInsn(int min,
int max,
org.objectweb.asm.Label dflt,
org.objectweb.asm.Label[] labels) |
accept, accept, check, getLabelNode, visitAnnotableParameterCount, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitLabel, visitLdcInsn, visitLocalVariableAnnotation, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
private final java.util.List<InstructionGroup> groups
private final java.util.List<org.objectweb.asm.tree.LabelNode> usedLabels
private final java.lang.Class<?> ownerClass
private int parameterCount
private boolean containsImplicitActions
private boolean containsExplicitActions
private boolean containsVars
private boolean containsPotentialSuperCalls
private boolean hasDontExtend
private boolean hasExplicitActionOnlyAnnotation
private boolean hasCachedAnnotation
private boolean hasDontLabelAnnotation
private boolean hasSuppressNodeAnnotation
private boolean hasSuppressSubnodesAnnotation
private boolean hasSkipNodeAnnotation
private boolean hasMemoMismatchesAnnotation
private boolean hasSkipActionsInPredicatesAnnotation
private int numberOfReturns
private InstructionGraphNode returnInstructionNode
private java.util.List<InstructionGraphNode> graphNodes
private java.util.List<org.objectweb.asm.tree.LocalVariableNode> localVarVariables
private boolean bodyRewritten
private boolean skipGeneration
public RuleMethod(java.lang.Class<?> ownerClass, int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions, boolean hasExplicitActionOnlyAnno, boolean hasDontLabelAnno, boolean hasSkipActionsInPredicates)
public java.util.List<InstructionGroup> getGroups()
public java.util.List<org.objectweb.asm.tree.LabelNode> getUsedLabels()
public java.lang.Class<?> getOwnerClass()
public boolean hasDontExtend()
public int getParameterCount()
public boolean containsImplicitActions()
public void setContainsImplicitActions(boolean containsImplicitActions)
public boolean containsExplicitActions()
public void setContainsExplicitActions(boolean containsExplicitActions)
public boolean containsVars()
public boolean containsPotentialSuperCalls()
public boolean hasCachedAnnotation()
public boolean hasDontLabelAnnotation()
public boolean hasSuppressNodeAnnotation()
public boolean hasSuppressSubnodesAnnotation()
public boolean hasSkipActionsInPredicatesAnnotation()
public boolean hasSkipNodeAnnotation()
public boolean hasMemoMismatchesAnnotation()
public int getNumberOfReturns()
public InstructionGraphNode getReturnInstructionNode()
public void setReturnInstructionNode(InstructionGraphNode returnInstructionNode)
public java.util.List<InstructionGraphNode> getGraphNodes()
public java.util.List<org.objectweb.asm.tree.LocalVariableNode> getLocalVarVariables()
public boolean isBodyRewritten()
public void setBodyRewritten()
public boolean isSuperMethod()
public InstructionGraphNode setGraphNode(org.objectweb.asm.tree.AbstractInsnNode insn, org.objectweb.asm.tree.analysis.BasicValue resultValue, java.util.List<org.objectweb.asm.tree.analysis.BasicValue> predecessors)
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
visitAnnotation
in class org.objectweb.asm.tree.MethodNode
public void visitMethodInsn(int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc)
visitMethodInsn
in class org.objectweb.asm.tree.MethodNode
public void visitInsn(int opcode)
visitInsn
in class org.objectweb.asm.tree.MethodNode
public void visitJumpInsn(int opcode, org.objectweb.asm.Label label)
visitJumpInsn
in class org.objectweb.asm.tree.MethodNode
public void visitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label[] labels)
visitTableSwitchInsn
in class org.objectweb.asm.tree.MethodNode
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels)
visitLookupSwitchInsn
in class org.objectweb.asm.tree.MethodNode
public void visitLineNumber(int line, org.objectweb.asm.Label start)
visitLineNumber
in class org.objectweb.asm.tree.MethodNode
public void visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index)
visitLocalVariable
in class org.objectweb.asm.tree.MethodNode
public java.lang.String toString()
toString
in class java.lang.Object
public void moveFlagsTo(RuleMethod overridingMethod)
public boolean isGenerationSkipped()
public void dontSkipGeneration()
public void suppressNode()