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

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by it.imolinfo.jbi4corba.webservice.generator.bcm.CorbaOnewayMethodVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class CorbaOnewayMethodVisitor
extends org.objectweb.asm.commons.EmptyVisitor

This class is used to discover if a method is a oneway corba request.


Field Summary
protected  String internalStubName
          The internal name of the stub.
protected  String methodName
          The method name.
protected  List<String> onewayOperationList
          The list of the 'oneway' operations.
protected  boolean zero
          The boolean information to create the oneway corba request.
 
Constructor Summary
CorbaOnewayMethodVisitor(String stub, String aMethodName, List<String> aOnewayOperationList)
          Constructor.
 
Method Summary
 void visitInsn(int opcode)
          Override.
 void visitMethodInsn(int opcode, String owner, String name, String desc)
          Override.
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visit, visitAnnotation, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnd, visitEnum, visitField, visitFieldInsn, visitIincInsn, visitInnerClass, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

internalStubName

protected String internalStubName
The internal name of the stub.


methodName

protected String methodName
The method name.


onewayOperationList

protected List<String> onewayOperationList
The list of the 'oneway' operations.


zero

protected boolean zero
The boolean information to create the oneway corba request.

Constructor Detail

CorbaOnewayMethodVisitor

public CorbaOnewayMethodVisitor(String stub,
                                String aMethodName,
                                List<String> aOnewayOperationList)
Constructor.

Parameters:
stub - The internal class name of the stub.
aMethodName - The name of the method visited.
aOnewayOperationList - The oneway request collected.
Method Detail

visitInsn

public void visitInsn(int opcode)
Override.

Specified by:
visitInsn in interface org.objectweb.asm.MethodVisitor
Overrides:
visitInsn in class org.objectweb.asm.commons.EmptyVisitor
Parameters:
opcode - The op code

visitMethodInsn

public void visitMethodInsn(int opcode,
                            String owner,
                            String name,
                            String desc)
Override.

Specified by:
visitMethodInsn in interface org.objectweb.asm.MethodVisitor
Overrides:
visitMethodInsn in class org.objectweb.asm.commons.EmptyVisitor
Parameters:
opcode - The op code
owner - The owner
name - The name
desc - The desc


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