Package org.jboss.byteman.agent.adapter
Class RuleCheckMethodAdapter
- java.lang.Object
-
- org.objectweb.asm.MethodVisitor
-
- org.jboss.byteman.agent.adapter.RuleMethodAdapter
-
- org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
-
- Direct Known Subclasses:
EntryCheckAdapter.EntryCheckMethodAdapter,ExceptionExitCheckAdapter.ExceptionExitCheckMethodAdapter,ExitCheckAdapter.ExitCheckMethodAdapter,FieldAccessCheckAdapter.FieldAccessCheckMethodAdapter,IndexParamAccessCheckAdapter.IndexParamAccessCheckMethodAdapter,InvokeCheckAdapter.InvokeCheckMethodAdapter,LineCheckAdapter.LineCheckMethodAdapter,NewArrayCheckAdapter.NewArrayCheckMethodAdapter,NewCheckAdapter.NewCheckMethodAdapter,SynchronizeCheckAdapter.SynchronizeCheckMethodAdapter,ThrowCheckAdapter.ThrowCheckMethodAdapter,VariableAccessCheckAdapter.VariableAccessCheckMethodAdapter
public class RuleCheckMethodAdapter extends RuleMethodAdapter
class which provides base functionality extended by all the location-specific method check adapters
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
RuleMethodAdapter.LocalVar
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringreturnBindingTypeprivate java.util.List<org.objectweb.asm.Label>triggerPoints-
Fields inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
access, descriptor, localVarsByName, name, rule, transformContext
-
-
Constructor Summary
Constructors Constructor Description RuleCheckMethodAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, java.lang.String name, java.lang.String descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckBindings()protected java.lang.StringgetNewTypeParamDescriptor()method overridden by AT NEW method check adapter allowing String value for the type name provided in the NEW location spec to be retrieved.protected java.lang.StringgetReturnBindingType()(package private) booleanisTriggerPoint()protected voidsetTriggerPoint()voidvisitEnd()-
Methods inherited from class org.jboss.byteman.agent.adapter.RuleMethodAdapter
getTriggerClassName, lookup, visitLocalVariable
-
Methods inherited from class org.objectweb.asm.MethodVisitor
visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
-
-
-
-
Constructor Detail
-
RuleCheckMethodAdapter
RuleCheckMethodAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, java.lang.String name, java.lang.String descriptor)
-
-
Method Detail
-
getReturnBindingType
protected java.lang.String getReturnBindingType()
-
setTriggerPoint
protected void setTriggerPoint()
-
isTriggerPoint
boolean isTriggerPoint()
-
checkBindings
protected void checkBindings()
-
visitEnd
public void visitEnd()
- Overrides:
visitEndin classorg.objectweb.asm.MethodVisitor
-
getNewTypeParamDescriptor
protected java.lang.String getNewTypeParamDescriptor()
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- Returns:
- String value for
-
-