Class ClassListProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- edu.wpi.grip.annotation.processor.ClassListProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedAnnotationTypes({"edu.wpi.grip.annotation.*","com.thoughtworks.xstream.annotations.XStreamAlias"}) @SupportedSourceVersion(RELEASE_8) @AutoService(javax.annotation.processing.Processor.class) public class ClassListProcessor extends javax.annotation.processing.AbstractProcessor
Processes elements with the GRIP annotations and generates class list files for them.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OPERATIONS_FILE_NAME
static java.lang.String
PUBLISHABLES_FILE_NAME
static java.lang.String
XSTREAM_ALIASES_FILE_NAME
-
Constructor Summary
Constructors Constructor Description ClassListProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Field Detail
-
OPERATIONS_FILE_NAME
public static final java.lang.String OPERATIONS_FILE_NAME
- See Also:
- Constant Field Values
-
PUBLISHABLES_FILE_NAME
public static final java.lang.String PUBLISHABLES_FILE_NAME
- See Also:
- Constant Field Values
-
XSTREAM_ALIASES_FILE_NAME
public static final java.lang.String XSTREAM_ALIASES_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
- Specified by:
process
in interfacejavax.annotation.processing.Processor
- Specified by:
process
in classjavax.annotation.processing.AbstractProcessor
-
-