it.imolinfo.jbi4corba.webservice.generator.bcm
Class ConstructorAdapter

java.lang.Object
  extended by org.objectweb.asm.ClassAdapter
      extended by it.imolinfo.jbi4corba.webservice.generator.bcm.ConstructorAdapter
All Implemented Interfaces:
org.objectweb.asm.ClassVisitor

public class ConstructorAdapter
extends org.objectweb.asm.ClassAdapter

For each constructor replace all parameter interface type with W3CEndpointReference.


Field Summary
protected  String className
           
protected  org.objectweb.asm.ClassWriter classWriter
           
protected  Map<String,String> mapOfFields
           
 
Fields inherited from class org.objectweb.asm.ClassAdapter
cv
 
Constructor Summary
ConstructorAdapter(org.objectweb.asm.ClassVisitor cv, org.objectweb.asm.ClassWriter cw, String cn, Map<String,InterfaceType> allInTypes, boolean isEx)
          The adapter used to manipulate the code.
 
Method Summary
 void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
          Override.
 void visitEnd()
           
 org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
          Override.
 
Methods inherited from class org.objectweb.asm.ClassAdapter
visitAnnotation, visitAttribute, visitField, visitInnerClass, visitOuterClass, visitSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected String className

classWriter

protected org.objectweb.asm.ClassWriter classWriter

mapOfFields

protected Map<String,String> mapOfFields
Constructor Detail

ConstructorAdapter

public ConstructorAdapter(org.objectweb.asm.ClassVisitor cv,
                          org.objectweb.asm.ClassWriter cw,
                          String cn,
                          Map<String,InterfaceType> allInTypes,
                          boolean isEx)
The adapter used to manipulate the code.

Parameters:
cv - The ClassVisitor used in this object.
cw - The ClassWriter used in this object.
cn - The class name to manipulate.
Method Detail

visit

public void visit(int version,
                  int access,
                  String name,
                  String signature,
                  String superName,
                  String[] interfaces)
Override.

Specified by:
visit in interface org.objectweb.asm.ClassVisitor
Overrides:
visit in class org.objectweb.asm.ClassAdapter
Parameters:
version - The method visitor
access - The access
name - The name
signature - The signature
superName - The super name
interfaces - The interfaces

visitMethod

public org.objectweb.asm.MethodVisitor visitMethod(int access,
                                                   String name,
                                                   String desc,
                                                   String signature,
                                                   String[] exceptions)
Override.

Specified by:
visitMethod in interface org.objectweb.asm.ClassVisitor
Overrides:
visitMethod in class org.objectweb.asm.ClassAdapter
Parameters:
access - The access
name - The name
desc - The description
signature - The signature
exceptions - The exceptions
Returns:
The return

visitEnd

public void visitEnd()
Specified by:
visitEnd in interface org.objectweb.asm.ClassVisitor
Overrides:
visitEnd in class org.objectweb.asm.ClassAdapter


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.