com.github.danielbell.smallprox
Class SmallproxProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.github.danielbell.smallprox.SmallproxProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes(value={"javax.persistence.Entity","javax.persistence.Embeddable"})
@SupportedSourceVersion(value=RELEASE_6)
@SupportedOptions(value="smallprox.outputPackageProvider")
public class SmallproxProcessor
extends AbstractProcessor

Annotation processor that generates GWT RequestFactory proxies from a JPA metamodel


Field Summary
static String LOGGER_NAME
           
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
SmallproxProcessor()
           
 
Method Summary
 void init(ProcessingEnvironment processingEnv)
           
 boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER_NAME

public static final String LOGGER_NAME
See Also:
Constant Field Values
Constructor Detail

SmallproxProcessor

public SmallproxProcessor()
Method Detail

init

public void init(ProcessingEnvironment processingEnv)
Specified by:
init in interface Processor
Overrides:
init in class AbstractProcessor

process

public boolean process(Set<? extends TypeElement> annotations,
                       RoundEnvironment roundEnv)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor


Copyright © 2011. All Rights Reserved.