public final class AsmCodeGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AsmCodeGenerator.CodeGenerateEvent
Holds event data for code generation events.
|
static class |
AsmCodeGenerator.CodeGenerateEventType
Code generation steps that external listener can listen for.
|
static interface |
AsmCodeGenerator.CodegenListener
Event listener for code generation events.
|
static class |
AsmCodeGenerator.GenerateParameter
Contains definitions of all parameters of code generator
|
| Modifier and Type | Field and Description |
|---|---|
static com.neeve.build.codegen.CgBuildParameters |
CODEGEN_PARAMS
Defines all parameters of codegenerator.
|
| Constructor and Description |
|---|
AsmCodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Perform code generation
Before calling this method, you need to set all the parameters.
|
static void |
main(String[] args) |
AsmCodeGenerator |
setArgument(String name,
Object value)
Sets argument for code generation.
|
public static final com.neeve.build.codegen.CgBuildParameters CODEGEN_PARAMS
public AsmCodeGenerator setArgument(String name, Object value)
name - Parameter name.value - Argument value.AsmCodeGenerator instance for which method is called.public void generate()
throws Exception
Before calling this method, you need to set all the parameters. For list of available
parameters see AsmCodeGenerator.GenerateParameter.
Exception - in case of parsing errors, IO errors accessing model files, code generation errors.public static void main(String[] args)
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.