@SupportedAnnotationTypes(value={"core.support.annotation.Module","core.support.annotation.Panel","core.support.annotation.Data","core.support.annotation.Service"}) @SupportedSourceVersion(value=RELEASE_6) @AutoService(value=javax.annotation.processing.Processor.class) public class MainGenerator extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOATION_WORKING_DIR |
static ProcessingEnvironment |
PROCESS_ENV |
processingEnv| Constructor and Description |
|---|
MainGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static File |
getRootPath_reverseNavigation(File dir,
String name)
navigates backwards from dir location to find the directory where file name is located
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
static boolean |
runAnnotation() |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitializedpublic static ProcessingEnvironment PROCESS_ENV
public static String ANNOATION_WORKING_DIR
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic static boolean runAnnotation()
Copyright © 2020. All rights reserved.