Processor@SupportedAnnotationTypes("fluent.api.EndMethodCheckFile") @SupportedSourceVersion(RELEASE_8) public class EndProcessor extends AbstractProcessor
processingEnv| Constructor | Description |
|---|---|
EndProcessor() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
assertThatEndMethodCheckFileExists(String uniqueFileName) |
Assertion method to check, that requested EndMethodCheckFile got created.
|
void |
init(ProcessingEnvironment processingEnv) |
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic static void assertThatEndMethodCheckFileExists(String uniqueFileName) throws IOException
uniqueFileName - Unique file name to be checked, which should have been previously requested to generate
using the annotation EndMethodCheckFile(uniqueFileName)IOException - in case of any unexpected IO problems while accessing the file (not that it doesn't exist).Copyright © 2021. All rights reserved.