public final class StructureCompiler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ReportType |
REPORT_TOO_MANY_GENERATED_CLASSES |
| Modifier and Type | Method and Description |
|---|---|
<TField> StructureModifier<TField> |
compile(StructureModifier<TField> source)
Compiles the given structure modifier.
|
<TField> boolean |
lookupClassLoader(StructureModifier<TField> source)
Lookup the current class loader for any previously generated classes before we attempt to generate something.
|
public static final ReportType REPORT_TOO_MANY_GENERATED_CLASSES
public <TField> boolean lookupClassLoader(StructureModifier<TField> source)
source - - the structure modifier to look up.public <TField> StructureModifier<TField> compile(StructureModifier<TField> source)
WARNING: Do NOT call this method in the main thread. Compiling may easily take 10 ms, which is already over 1/4 of a tick (50 ms). Let the background thread automatically compile the structure modifiers instead.
source - - structure modifier to compile.