public abstract class AbstractSingleClassFileGenerator extends AbstractCodeGenerator
Constructor and Description |
---|
AbstractSingleClassFileGenerator() |
Modifier and Type | Method and Description |
---|---|
protected abstract com.squareup.javapoet.JavaFile |
generate() |
void |
generate(AOTContext context) |
protected AOTContext |
getContext() |
com.squareup.javapoet.JavaFile |
javaFile(com.squareup.javapoet.TypeSpec typeSpec) |
simpleNameOf, staticMethod, staticMethodBuilder, writeServiceFile
protected abstract com.squareup.javapoet.JavaFile generate()
public void generate(@NonNull AOTContext context)
protected final AOTContext getContext()
@NonNull public final com.squareup.javapoet.JavaFile javaFile(com.squareup.javapoet.TypeSpec typeSpec)