Package org.jboss.byteman.agent.adapter
Class NewCheckAdapter.NewCheckMethodAdapter
java.lang.Object
org.objectweb.asm.MethodVisitor
org.jboss.byteman.agent.adapter.RuleMethodAdapter
org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
org.jboss.byteman.agent.adapter.NewCheckAdapter.NewCheckMethodAdapter
- Enclosing class:
NewCheckAdapter
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 intprivate Stringprivate String[](package private) Stringprivate Stringprivate Stringprivate booleanprivate booleanprivate intFields inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
localVarsByName, rule, transformContextFields inherited from class org.objectweb.asm.MethodVisitor
api, mv -
Constructor Summary
ConstructorsConstructorDescriptionNewCheckMethodAdapter(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 booleanvoidvisitMethodInsn(int opcode, String owner, String name, String descriptor, boolean isInterface) voidvisitTypeInsn(int opcode, String type) Methods inherited from class org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
checkBindings, getReturnBindingType, isTriggerPoint, setTriggerPoint, visitEndMethods inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
getTriggerClassName, lookup, visitLocalVariableMethods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, 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 -
triggerReady
private boolean triggerReady -
matchedBaseName
String matchedBaseName
-
-
Constructor Details
-
NewCheckMethodAdapter
NewCheckMethodAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions)
-
-
Method Details
-
visitMethodInsn
public void visitMethodInsn(int opcode, String owner, String name, String descriptor, boolean isInterface) - Overrides:
visitMethodInsnin classorg.objectweb.asm.MethodVisitor
-
visitTypeInsn
- Overrides:
visitTypeInsnin classorg.objectweb.asm.MethodVisitor
-
matchType
-
getNewTypeParamDescriptor
Description copied from class:RuleCheckMethodAdaptermethod 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:
getNewTypeParamDescriptorin classRuleCheckMethodAdapter- Returns:
- String value for
-