it.imolinfo.jbi4corba.webservice.generator.bcm
Class ConstructorAdapter
java.lang.Object
org.objectweb.asm.ClassAdapter
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.
| Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
| 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 |
className
protected String className
classWriter
protected org.objectweb.asm.ClassWriter classWriter
mapOfFields
protected Map<String,String> mapOfFields
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.
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 visitoraccess - The accessname - The namesignature - The signaturesuperName - The super nameinterfaces - 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 accessname - The namedesc - The descriptionsignature - The signatureexceptions - 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.