public class CompileTestCase extends AbstractProcessor
@Compile and @Compiled to do test for compilation.| Modifier and Type | Field and Description |
|---|---|
protected Elements |
elements |
protected Filer |
filer |
protected Messager |
messager |
protected Types |
types |
processingEnv| Constructor and Description |
|---|
CompileTestCase() |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getError() |
Set<String> |
getSupportedAnnotationTypes() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
void |
setMethod(org.junit.runners.model.FrameworkMethod method) |
getCompletions, getSupportedOptions, isInitializedprotected Types types
protected Elements elements
protected Messager messager
protected Filer filer
public void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic void setMethod(org.junit.runners.model.FrameworkMethod method)
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic Throwable getError()
Copyright © 2018. All rights reserved.