@AutoService(value=CompiledObjectDecorator.class) public class HelpRootCompiledObjectDecorator extends DefaultCompiledObjectDecorator
|
| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
helpIds
the list of discovered helpId
|
log| Constructor and Description |
|---|
HelpRootCompiledObjectDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeCompiler(JAXXCompiler compiler,
CompiledObject root,
CompiledObject object,
JavaFile javaFile,
String packageName,
String className,
String fullClassName)
Finalize the given compiled object before any generation in the
file. |
protected String |
getBrokerFQN(JAXXCompiler compiler) |
protected String |
getHelpId(CompiledObject o) |
static Set<String> |
getHelpIds() |
String |
getName() |
protected boolean |
isNeedInterface(JAXXCompiler compiler,
Class<?> validatorInterface)
Detects if the given
compiler need the validatorInterface. |
addClientProperties, createCompleteSetupMethod, createInitializer, getCreationCodepublic String getName()
getName in interface CompiledObjectDecoratorgetName in class DefaultCompiledObjectDecoratorprotected String getBrokerFQN(JAXXCompiler compiler)
protected String getHelpId(CompiledObject o)
public void finalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, String packageName, String className, String fullClassName) throws ClassNotFoundException
CompiledObjectDecoratorfile.finalizeCompiler in interface CompiledObjectDecoratorfinalizeCompiler in class DefaultCompiledObjectDecoratorcompiler - the compiler to useroot - the root compiled object of the jaxx fileobject - the compiled object to treatejavaFile - the file to treatepackageName - the package nameclassName - the (simple ?) class namefullClassName - the fully class nameClassNotFoundException - if a class is not foundprotected boolean isNeedInterface(JAXXCompiler compiler, Class<?> validatorInterface) throws ClassNotFoundException
compiler need the validatorInterface.
We need to test it deeply since the interface is added by the decorator
and is not present on the symbol table of compiled objects.compiler - the compiler to testvalidatorInterface - the validator interface to seek fortrue if we need to add the interface, false otherwiseClassNotFoundException - if could not find a classCopyright © 2008–2019 Ultreia.io. All rights reserved.