|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.asm.util.AbstractVisitor org.objectweb.asm.util.TraceAbstractVisitor org.objectweb.asm.util.TraceMethodVisitor it.imolinfo.jbi4corba.webservice.generator.bcm.ReplaceUnionsMethodVisitor
public class ReplaceUnionsMethodVisitor
This class is to modify the all methods that contain uniontype attribution Replace: Uniontype with type Object the code to initialize some fields.
Field Summary |
---|
Fields inherited from class org.objectweb.asm.util.TraceMethodVisitor |
---|
labelNames, ltab, mv, tab2, tab3 |
Fields inherited from class org.objectweb.asm.util.TraceAbstractVisitor |
---|
CLASS_DECLARATION, CLASS_SIGNATURE, FIELD_DESCRIPTOR, FIELD_SIGNATURE, INTERNAL_NAME, METHOD_DESCRIPTOR, METHOD_SIGNATURE, PARAMETERS_DECLARATION, tab, TYPE_DECLARATION |
Fields inherited from class org.objectweb.asm.util.AbstractVisitor |
---|
buf, OPCODES, text, TYPES |
Constructor Summary | |
---|---|
ReplaceUnionsMethodVisitor(org.objectweb.asm.MethodVisitor mv,
Map<String,UnionType> allUnionTypes)
Constructor. |
Method Summary | |
---|---|
void |
visitFieldInsn(int opcode,
String className,
String fieldName,
String fieldType)
This method visit the code of the methods and change type of union with wrappers |
Methods inherited from class org.objectweb.asm.util.TraceMethodVisitor |
---|
appendLabel, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn |
Methods inherited from class org.objectweb.asm.util.TraceAbstractVisitor |
---|
appendDescriptor, createTraceAnnotationVisitor |
Methods inherited from class org.objectweb.asm.util.AbstractVisitor |
---|
appendString, getDefaultAttributes, getText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplaceUnionsMethodVisitor(org.objectweb.asm.MethodVisitor mv, Map<String,UnionType> allUnionTypes)
mv
- The method visitor.mapOfFields
- The fields to initialize.className
- The name of the class.allInterfaceTypes
- Method Detail |
---|
public void visitFieldInsn(int opcode, String className, String fieldName, String fieldType)
visitFieldInsn
in interface org.objectweb.asm.MethodVisitor
visitFieldInsn
in class org.objectweb.asm.util.TraceMethodVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |