
@SupportedAnnotationTypes(value="com.gwtplatform.dispatch.annotation.GenProxy") public class GenProxyProcessor extends GenProcessor
GenProxy annotations.
GenProxyProcessor should only ever be called by tool infrastructure.
See Processor for more details.processingEnv| Constructor and Description |
|---|
GenProxyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateEntityProxyHeader(InterfaceGenerationHelper writer,
ReflectionHelper reflection,
String proxyElementClassName,
String proxySimpleName,
TypeMirror locatorType) |
protected void |
generateGetter(InterfaceGenerationHelper writer,
VariableElement getterField) |
protected void |
generateProxy(Element proxyElement,
String targetPackage,
String[] filterSetter,
String[] filterGetter,
boolean isEmbeddedType,
TypeMirror locatorType) |
protected void |
generateSetter(InterfaceGenerationHelper writer,
VariableElement setterField) |
protected void |
generateValueProxyHeader(InterfaceGenerationHelper writer,
ReflectionHelper reflection,
String proxyElementClassName,
String proxySimpleName) |
protected TypeMirror |
getLocatorTypeMirror(GenProxy genProxyAnnotation) |
protected String |
getProxyTypeMirrorName(UseProxy useProxyAnnotation,
TypeMirror originalTypeMirror)
Workaround for MirroredTypeException (Attempt to access Class object for TypeMirror).
|
void |
process(Element proxyElement)
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 proxyElement)
GenProcessorprocess in class GenProcessorproxyElement - the annotated element.protected void generateProxy(Element proxyElement, String targetPackage, String[] filterSetter, String[] filterGetter, boolean isEmbeddedType, TypeMirror locatorType)
protected void generateEntityProxyHeader(InterfaceGenerationHelper writer, ReflectionHelper reflection, String proxyElementClassName, String proxySimpleName, TypeMirror locatorType)
protected void generateValueProxyHeader(InterfaceGenerationHelper writer, ReflectionHelper reflection, String proxyElementClassName, String proxySimpleName)
protected void generateGetter(InterfaceGenerationHelper writer, VariableElement getterField)
protected void generateSetter(InterfaceGenerationHelper writer, VariableElement setterField)
protected final String getProxyTypeMirrorName(UseProxy useProxyAnnotation, TypeMirror originalTypeMirror)
protected final TypeMirror getLocatorTypeMirror(GenProxy genProxyAnnotation)
Copyright © 2010-2014 ArcBees. All Rights Reserved.