Class PluginAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.velocitypowered.api.plugin.ap.PluginAnnotationProcessor
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class)
@SupportedAnnotationTypes("com.velocitypowered.api.plugin.Plugin")
public class PluginAnnotationProcessor
extends AbstractProcessor
Annotation processor for Velocity.
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ProcessingEnvironment processingEnv) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
PluginAnnotationProcessor
public PluginAnnotationProcessor()Creates a newPluginAnnotationProcessor.The processor is instantiated by the Java compiler and initialized via
init(ProcessingEnvironment).
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-