de.holisticon.annotationprocessortoolkit.testhelper
Class AnnotationProcessorWrapper
java.lang.Object
de.holisticon.annotationprocessortoolkit.testhelper.AnnotationProcessorWrapper
- All Implemented Interfaces:
- Processor
public class AnnotationProcessorWrapper
- extends Object
- implements Processor
Wrapper class for AbstractAnnotationProcessor. Allows generic creation of generic unit tests.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptions in interface Processor
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes 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
process
public boolean process(Set<? extends TypeElement> annotations,
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
wrapProcessor
public static Processor wrapProcessor(Processor processorToWrap)
wrapProcessor
public static <G extends Processor> Processor wrapProcessor(Class<G> processorTypeToWrap)
Copyright © 2017 Holisticon AG. All Rights Reserved.