- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.scijava.ops.indexer.OpImplNoteParser
-
- All Implemented Interfaces:
Processor
public class OpImplNoteParser extends AbstractProcessor
Processorused to find code blocks annotated as Ops, using the implNote syntax.- Author:
- Gabriel Selzer
-
-
Field Summary
Fields Modifier and Type Field Description static StringOP_VERSION-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description OpImplNoteParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getSupportedAnnotationTypes()Set<String>getSupportedOptions()SourceVersiongetSupportedSourceVersion()booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnvironment)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, init, isInitialized
-
-
-
-
Field Detail
-
OP_VERSION
public static final String OP_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnvironment)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classAbstractProcessor
-
-