|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.hammurapi.codegen.ClassGeneratorBase
biz.hammurapi.codegen.Class
public class Class
Nested Class Summary |
---|
Nested classes/interfaces inherited from class biz.hammurapi.codegen.ClassGeneratorBase |
---|
ClassGeneratorBase.FieldDescriptor |
Field Summary |
---|
Fields inherited from class biz.hammurapi.codegen.ClassGeneratorBase |
---|
cg, listener |
Constructor Summary | |
---|---|
Class(java.lang.String definition,
java.lang.String description,
GenerationListener listener)
|
Method Summary | |
---|---|
void |
addField(java.lang.String name,
java.lang.String type,
java.lang.String description,
java.util.Properties attributes)
Creates a private field of specified name and type. |
Methods inherited from class biz.hammurapi.codegen.ClassGeneratorBase |
---|
addField, addStaticInitializer, checkMethod, cloneInstructions, concat, createGetField, createInvoke, createInvoke, createPutField, field, getClassGen, getInstructionFactory, getJavaClass, getMethod, hasField, invocation, java2BcelType, modifiers, printMethod, printMethod, save, showField, showInvocation, showTypeDefinition, toString, typeDefinition, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Class(java.lang.String definition, java.lang.String description, GenerationListener listener) throws GenerationException
definition
- E.g. public class C extends a.b.A implements a.b.c.d.B
Superinterfaces names shall be fully qualified.description
- listener
-
GenerationException
Method Detail |
---|
public void addField(java.lang.String name, java.lang.String type, java.lang.String description, java.util.Properties attributes) throws GenerationException
name
- type
- description
- attributes
-
GenerationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |