Class CommandContainerProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
cloud.commandframework.annotations.processing.CommandContainerProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("cloud.commandframework.annotations.processing.CommandContainer")
public final class CommandContainerProcessor
extends AbstractProcessor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The file in which all command container names are stored.Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(@NonNull Set<? extends TypeElement> annotations, @NonNull RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Field Details
-
PATH
The file in which all command container names are stored.- See Also:
-
-
Constructor Details
-
CommandContainerProcessor
public CommandContainerProcessor()
-
-
Method Details
-
process
public boolean process(@NonNull Set<? extends TypeElement> annotations, @NonNull RoundEnvironment roundEnv) - Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-