it.imolinfo.jbi4corba.webservice.generator.bcm
Class SerializableDecorationAdapter
java.lang.Object
org.objectweb.asm.ClassAdapter
it.imolinfo.jbi4corba.webservice.generator.bcm.SerializableInspectorAdapter
it.imolinfo.jbi4corba.webservice.generator.bcm.SerializableDecorationAdapter
- All Implemented Interfaces:
- org.objectweb.asm.ClassVisitor
public class SerializableDecorationAdapter
- extends SerializableInspectorAdapter
This adapter makes a class serializable and add a serial version UID.
Fields inherited from class org.objectweb.asm.ClassAdapter |
cv |
Methods inherited from class org.objectweb.asm.ClassAdapter |
visitAnnotation, visitAttribute, visitInnerClass, visitMethod, visitOuterClass, visitSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newSerialVersionUid
protected Long newSerialVersionUid
- The new serial version UID for the class inspected.
SerializableDecorationAdapter
public SerializableDecorationAdapter(org.objectweb.asm.ClassVisitor cv,
Long aNewSerialVersionUid)
- Constructor.
- Parameters:
cv
- The class visitor instance.aNewSerialVersionUid
- The new serial version UID.
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 SerializableInspectorAdapter
- Parameters:
version
- The versionaccess
- The accessname
- The namesignature
- The signaturesuperName
- The super nameinterfaces
- The interfaces
visitField
public org.objectweb.asm.FieldVisitor visitField(int access,
String name,
String desc,
String signature,
Object value)
- Override.
- Specified by:
visitField
in interface org.objectweb.asm.ClassVisitor
- Overrides:
visitField
in class SerializableInspectorAdapter
- Parameters:
access
- The accessname
- The namedesc
- The descriptionsignature
- The signaturevalue
- The value
- Returns:
- The return
visitEnd
public void visitEnd()
- Override.
- 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.