Class ComponentGenerator
java.lang.Object
com.github.elebras1.flecs.processor.AbstractGenerator
com.github.elebras1.flecs.processor.ComponentGenerator
- All Implemented Interfaces:
Generator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.palantir.javapoet.JavaFilegenerate(TypeElement recordElement, List<VariableElement> fields) Methods inherited from class AbstractGenerator
getArrayLength, getGetterMethod, getPackageName, getStringSize
-
Field Details
-
LAYOUT_FIELD_CLASS
- See Also:
-
COMPONENT_INTERFACE
- See Also:
-
DEFAULT_STRING_SIZE
protected static final int DEFAULT_STRING_SIZE- See Also:
-
-
Constructor Details
-
ComponentGenerator
public ComponentGenerator()
-
-
Method Details
-
generate
public com.palantir.javapoet.JavaFile generate(TypeElement recordElement, List<VariableElement> fields)
-