Class 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.
    • 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)  
      • Methods inherited from class javax.annotation.processing.AbstractProcessor

        getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • ClassListProcessor

        public ClassListProcessor()
    • 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 interface javax.annotation.processing.Processor
        Specified by:
        process in class javax.annotation.processing.AbstractProcessor