|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sdo.codegen.BytecodeInterfaceGenerator
public class BytecodeInterfaceGenerator
Implementation of a generator that will directly emit bytecode for an interface that corresponds to the static properties of a SDO type.
Constructor Summary | |
---|---|
BytecodeInterfaceGenerator()
|
Method Summary | |
---|---|
byte[] |
getClassData()
Return the bytecode for the interface class in a form that can be written to disk, added to a JAR file, or passed to a ClassLoader. |
void |
visitEnd()
Visit after all properties. |
void |
visitProperty(Property property)
Visit a property definition. |
void |
visitType(Type type)
Visit a type definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BytecodeInterfaceGenerator()
Method Detail |
---|
public void visitType(Type type)
SDOTypeVisitor
visitType
in interface SDOTypeVisitor
type
- the type to visitpublic void visitProperty(Property property)
SDOTypeVisitor
visitProperty
in interface SDOTypeVisitor
property
- the property to visitpublic void visitEnd()
SDOTypeVisitor
visitEnd
in interface SDOTypeVisitor
public byte[] getClassData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |