net.java.quickcheck.srcgenerator
Class BaseProcessor

java.lang.Object
  extended by net.java.quickcheck.srcgenerator.BaseProcessor
All Implemented Interfaces:
Processor
Direct Known Subclasses:
IterableProcessor, SamplesProcessor

public abstract class BaseProcessor
extends Object
implements Processor


Constructor Summary
BaseProcessor()
           
 
Method Summary
protected abstract  net.java.quickcheck.srcgenerator.ClassRenderer createRenderer(net.java.quickcheck.srcgenerator.ClassInfo info)
           
 Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
           
protected abstract  Class<? extends Annotation> getSupportedAnnotationType()
           
 Set<String> getSupportedAnnotationTypes()
           
 Set<String> getSupportedOptions()
           
 SourceVersion getSupportedSourceVersion()
           
 void init(ProcessingEnvironment processingEnv)
           
 boolean process(Set<? extends TypeElement> annotatedType, RoundEnvironment roundEnv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseProcessor

public BaseProcessor()
Method Detail

getSupportedAnnotationType

protected abstract Class<? extends Annotation> getSupportedAnnotationType()

createRenderer

protected abstract net.java.quickcheck.srcgenerator.ClassRenderer createRenderer(net.java.quickcheck.srcgenerator.ClassInfo info)

process

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

getCompletions

public Iterable<? extends Completion> getCompletions(Element element,
                                                     AnnotationMirror annotation,
                                                     ExecutableElement member,
                                                     String userText)
Specified by:
getCompletions in interface Processor

getSupportedAnnotationTypes

public Set<String> getSupportedAnnotationTypes()
Specified by:
getSupportedAnnotationTypes in interface Processor

getSupportedOptions

public Set<String> getSupportedOptions()
Specified by:
getSupportedOptions in interface Processor

getSupportedSourceVersion

public SourceVersion getSupportedSourceVersion()
Specified by:
getSupportedSourceVersion in interface Processor

init

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


Copyright © 2011. All Rights Reserved.