|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.imolinfo.jbi4corba.webservice.generator.bcm.ByteCodeManipulationUtil
public class ByteCodeManipulationUtil
This class is used to supply all the utility methods for the bytecode manipulation.
| Field Summary | |
|---|---|
static String |
JAXB_XML_ATTRIBUTE
XmlAttribute annotation. |
| Constructor Summary | |
|---|---|
ByteCodeManipulationUtil()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
createGetter(org.objectweb.asm.ClassWriter classWriter,
String className,
String propertyName,
String returnType,
boolean isXmlAttribute)
This method add a getter method. |
void |
createSetter(org.objectweb.asm.ClassWriter classWriter,
String className,
String propertyName,
String type)
This method add a setter method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JAXB_XML_ATTRIBUTE
| Constructor Detail |
|---|
public ByteCodeManipulationUtil()
| Method Detail |
|---|
public void createSetter(org.objectweb.asm.ClassWriter classWriter,
String className,
String propertyName,
String type)
classWriter - The object used to create the setter.className - The name of the class.propertyName - The name of the property of the setter.type - The type of the property of the setter.
public void createGetter(org.objectweb.asm.ClassWriter classWriter,
String className,
String propertyName,
String returnType,
boolean isXmlAttribute)
classWriter - The object used to create the setter.className - The name of the class.propertyName - The name of the property of the getter.returnType - The type of the property of the getter.isXmlAttribute - if True, adds the XmlAttribute annotation to the method (useful for exception mapping)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||