public class Generator
extends java.lang.Object
When attempting to understand what the Generator does, try to run experiments and inspect the generated code: It is quite readable.
Moreover, although Generator is the one ultimately doing something with the various annotations it relies on, it was easier to describe the behavior its meant to have with them as part of the documentation of the annotations, so we can refer to them to understand more about how Generator should work:
Adapter,
Allocator,
ArrayAllocator,
ByPtr,
ByPtrPtr,
ByPtrRef,
ByRef,
ByVal,
Cast,
Const,
Convention,
CriticalRegion,
Function,
Index,
MemberGetter,
MemberSetter,
Name,
Namespace,
NoDeallocator,
NoException,
NoOffset,
Opaque,
Platform,
Raw,
ValueGetter,
ValueSetter| Constructor and Description |
|---|
Generator(Logger logger,
java.util.Properties properties) |
Generator(Logger logger,
java.util.Properties properties,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(java.lang.String sourceFilename,
java.lang.String headerFilename,
java.lang.String loadSuffix,
java.lang.String baseLoadSuffix,
java.lang.String classPath,
java.lang.Class<?>... classes) |