@SupportedAnnotationTypes(value="com.gwtplatform.dispatch.annotation.GenDispatch") public class GenDispatchProcessor extends GenProcessor
GenDispatch annotations.
GenDispatchProcessor should only ever be called by tool infrastructure. See
Processor for more details.processingEnv| Constructor and Description |
|---|
GenDispatchProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateAction(Element dispatchElement,
boolean isSecure,
String serviceName,
String extraActionInterfaces) |
protected void |
generateIsSecuredMethod(GenerationHelper writer,
boolean isSecure) |
protected void |
generateResult(Element dispatchElement,
String extraResultInterfaces) |
protected void |
generateServiceNameAccessor(GenerationHelper writer,
String simpleClassName,
String serviceName) |
void |
process(Element dispatchElement)
Override this function to receive elements which you've declared in
supported annotations.
|
getEnvironment, getSupportedSourceVersion, init, onProcessingCompleted, onProcessingStarted, printError, printMessage, processgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedpublic void process(Element dispatchElement)
GenProcessorprocess in class GenProcessordispatchElement - the annotated element.protected void generateAction(Element dispatchElement, boolean isSecure, String serviceName, String extraActionInterfaces)
protected void generateIsSecuredMethod(GenerationHelper writer, boolean isSecure)
protected void generateServiceNameAccessor(GenerationHelper writer, String simpleClassName, String serviceName)
Copyright © 2010–2014 Arcbees. All rights reserved.