public final class AnnotationProcessorWrapper
extends java.lang.Object
implements javax.annotation.processing.Processor
Processor. Allows generic creation of generic unit tests.| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<? extends javax.annotation.processing.Completion> |
getCompletions(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotation,
javax.lang.model.element.ExecutableElement member,
java.lang.String userText) |
java.util.Set<java.lang.String> |
getSupportedAnnotationTypes() |
java.util.Set<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv) |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
static <G extends javax.annotation.processing.Processor> |
wrapProcessor(java.lang.Class<G> processorTypeToWrap) |
static javax.annotation.processing.Processor |
wrapProcessor(javax.annotation.processing.Processor processorToWrap) |
public java.util.Set<java.lang.String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.Processorpublic java.util.Set<java.lang.String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface javax.annotation.processing.Processorpublic javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.Processorpublic void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init in interface javax.annotation.processing.Processorpublic boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
process in interface javax.annotation.processing.Processorpublic java.lang.Iterable<? extends javax.annotation.processing.Completion> getCompletions(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotation,
javax.lang.model.element.ExecutableElement member,
java.lang.String userText)
getCompletions in interface javax.annotation.processing.Processorpublic static javax.annotation.processing.Processor wrapProcessor(javax.annotation.processing.Processor processorToWrap)
public static <G extends javax.annotation.processing.Processor> javax.annotation.processing.Processor wrapProcessor(java.lang.Class<G> processorTypeToWrap)
Copyright © 2017 Holisticon AG. All Rights Reserved.