|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.asm.ClassAdapter it.imolinfo.jbi4corba.webservice.generator.bcm.CorbaEnumAdapter
public class CorbaEnumAdapter
Used to find a class that provides a corba enum implementation.
Field Summary |
---|
Fields inherited from class org.objectweb.asm.ClassAdapter |
---|
cv |
Constructor Summary | |
---|---|
CorbaEnumAdapter(org.objectweb.asm.ClassVisitor cv)
The adapater used to manipulate the code. |
Method Summary | |
---|---|
protected void |
checkLabel(int access,
String name,
String desc)
This method is used to collect the corba enum labels. |
List<String> |
getEnumLabelList()
A getter. |
String |
getInternalClassName()
A getter. |
boolean |
isCorbaEnum()
A getter. |
void |
setCorbaEnum(boolean val)
A setter. |
void |
setEnumLabelList(List<String> val)
A setter. |
void |
setInternalClassName(String val)
A setter. |
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
Override. |
org.objectweb.asm.FieldVisitor |
visitField(int access,
String name,
String desc,
String signature,
Object value)
|
Methods inherited from class org.objectweb.asm.ClassAdapter |
---|
visitAnnotation, visitAttribute, visitEnd, visitInnerClass, visitMethod, visitOuterClass, visitSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CorbaEnumAdapter(org.objectweb.asm.ClassVisitor cv)
cv
- The ClassVisitor used in this object.Method Detail |
---|
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
visit
in interface org.objectweb.asm.ClassVisitor
visit
in class org.objectweb.asm.ClassAdapter
version
- The versionaccess
- The accessname
- The namesignature
- The signaturesuperName
- The superNameinterfaces
- The interfacespublic org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
visitField
in interface org.objectweb.asm.ClassVisitor
visitField
in class org.objectweb.asm.ClassAdapter
access
- the field's access flags (see Opcodes).
This parameter also indicates if the field is synthetic
and/or deprecated.name
- the field's name.desc
- the field's descriptor (see Type).signature
- the field's signature. May be null if the field's type
does not use generic types.value
- the field's initial value.
This parameter, which may be null if the field does not
have an initial value, must be an Integer, a Float,
a Long, a Double or a String (for int, float, long or
String fields respectively).
This parameter is only used for static fields.
Its value is IGNORED for non static fields,
which must be initialized through bytecode
instructions in constructors or methods.
protected void checkLabel(int access, String name, String desc)
access
- The modifiers.name
- The field name.desc
- The data type of the field.public List<String> getEnumLabelList()
public void setEnumLabelList(List<String> val)
val
- The new valuepublic boolean isCorbaEnum()
public void setCorbaEnum(boolean val)
val
- The new valuepublic String getInternalClassName()
public void setInternalClassName(String val)
val
- The new value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |