Package org.jboss.byteman.agent.adapter
Class NewArrayCheckAdapter.NewArrayCheckMethodAdapter
java.lang.Object
org.objectweb.asm.MethodVisitor
org.jboss.byteman.agent.adapter.RuleMethodAdapter
org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
org.jboss.byteman.agent.adapter.NewArrayCheckAdapter.NewArrayCheckMethodAdapter
- Enclosing class:
NewArrayCheckAdapter
a method visitor used to add a rule event trigger call to a method
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
RuleMethodAdapter.LocalVar
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private String
private String[]
(package private) String
private String
private String
private boolean
private int
Fields inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
localVarsByName, rule, transformContext
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorsConstructorDescriptionNewArrayCheckMethodAdapter
(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions) -
Method Summary
Modifier and TypeMethodDescriptionmethod overridden by AT NEW method check adapter allowing String value for the type name provided in the NEW location spec to be retrieved.private boolean
matchType
(int operand) private boolean
void
visitIntInsn
(int opcode, int operand) void
visitMultiANewArrayInsn
(String descriptor, int numDimensions) void
visitTypeInsn
(int opcode, String type) Methods inherited from class org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
checkBindings, getReturnBindingType, isTriggerPoint, setTriggerPoint, visitEnd
Methods inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
getTriggerClassName, lookup, visitLocalVariable
Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitVarInsn
-
Field Details
-
access
private int access -
name
-
descriptor
-
signature
-
exceptions
-
visited
private boolean visited -
visitedCount
private int visitedCount -
matchedBaseName
String matchedBaseName
-
-
Constructor Details
-
NewArrayCheckMethodAdapter
NewArrayCheckMethodAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions)
-
-
Method Details
-
visitTypeInsn
- Overrides:
visitTypeInsn
in classorg.objectweb.asm.MethodVisitor
-
visitIntInsn
public void visitIntInsn(int opcode, int operand) - Overrides:
visitIntInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMultiANewArrayInsn
- Overrides:
visitMultiANewArrayInsn
in classorg.objectweb.asm.MethodVisitor
-
matchType
private boolean matchType(int operand) -
matchType
-
getNewTypeParamDescriptor
Description copied from class:RuleCheckMethodAdapter
method overridden by AT NEW method check adapter allowing String value for the type name provided in the NEW location spec to be retrieved. this default version should never get invoked- Overrides:
getNewTypeParamDescriptor
in classRuleCheckMethodAdapter
- Returns:
- String value for
-