org.objectweb.easybeans.enhancer.bean
Class BeanClassAdapter.AddMethodConstructorAdapter

java.lang.Object
  extended by org.objectweb.asm.MethodAdapter
      extended by org.objectweb.easybeans.enhancer.bean.BeanClassAdapter.AddMethodConstructorAdapter
All Implemented Interfaces:
org.objectweb.asm.MethodVisitor
Enclosing class:
BeanClassAdapter

public class BeanClassAdapter.AddMethodConstructorAdapter
extends org.objectweb.asm.MethodAdapter

Adds an entry in the constructor of the bean. It will initialize the interceptorManager.

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.objectweb.asm.MethodAdapter
mv
 
Constructor Summary
BeanClassAdapter.AddMethodConstructorAdapter(org.objectweb.asm.MethodVisitor mv)
          Constructs a new AddMethodConstructorAdapter object.
 
Method Summary
 void visitCode()
          Adds instruction just after the start of the method code.
 
Methods inherited from class org.objectweb.asm.MethodAdapter
visitAnnotation, visitAnnotationDefault, visitAttribute, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanClassAdapter.AddMethodConstructorAdapter

public BeanClassAdapter.AddMethodConstructorAdapter(org.objectweb.asm.MethodVisitor mv)
Constructs a new AddMethodConstructorAdapter object.

Parameters:
mv - the code visitor to which this adapter must delegate calls.
Method Detail

visitCode

public void visitCode()
Adds instruction just after the start of the method code. TODO: Analyze when call to super() constructor is done and add instruction after.

Specified by:
visitCode in interface org.objectweb.asm.MethodVisitor
Overrides:
visitCode in class org.objectweb.asm.MethodAdapter