| org.ow2.easybeans.enhancer.bean.Migration21ClassAdapter
Migration21ClassAdapter | public class Migration21ClassAdapter extends ClassAdapter implements Opcodes(Code) | | This adapter is used to add the EJB 2.1 methods that are required for the
EJBObject or EJBLocalObject interfaces.
author: Florent Benoit |
Migration21ClassAdapter | public Migration21ClassAdapter(ClassAnnotationMetadata classAnnotationMetadata, ClassVisitor cv)(Code) | | Constructor.
Parameters: classAnnotationMetadata - object containing all attributes of theclass Parameters: cv - the class visitor to which this adapter must delegate calls. |
visitEnd | public void visitEnd()(Code) | | Visits the end of the class. This method, which is the last one to be
called, is used to inform the visitor that all the fields and methods of
the class have been visited.
|
visitMethod | public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)(Code) | | Visits a method of the class. This method must return a new
MethodVisitor instance (or null) each time it is
called, i.e., it should not return a previously returned visitor.
Parameters: access - the method's access flags (see Opcodes). Thisparameter also indicates if the method is synthetic and/ordeprecated. Parameters: name - the method's name. Parameters: desc - the method's descriptor (see org.ow2.easybeans.asm.Type Type). Parameters: signature - the method's signature. May be null if themethod parameters, return type and exceptions do not use generictypes. Parameters: exceptions - the internal names of the method's exception classes(see org.ow2.easybeans.asm.Type.getInternalName getInternalName). May benull. an object to visit the byte code of the method, or nullif this class visitor is not interested in visiting the code ofthis method. |
|
|