Class IndexGenerator

    • Constructor Detail

      • IndexGenerator

        public IndexGenerator()
        Creates a default processor.
    • Method Detail

      • init

        public void init​(ProcessingEnvironment processingEnv)
        Initializes this processor.
        Specified by:
        init in interface Processor
        processingEnv - Provides access to the tools framework.
      • compare

        public int compare​(TypeElement t1,
                           TypeElement t2)
        Compares the given elements for order. This will determine the order in which API changes are reported on the HTML page.
        Specified by:
        compare in interface Comparator<TypeElement>
        t1 - The first element.
        t2 - The second element.
        a negative number if t1 should be printed before t2, or a positive number if t1 should be printed after t2.
      • process

        public final boolean process​(Set<? extends TypeElement> annotations,
                                     RoundEnvironment roundEnv)
        Processes all classes and interfaces, no matter in annotated by org.opengis.annotation.UML or not.
        Specified by:
        process in interface Processor
        Specified by:
        process in class AbstractProcessor
        annotations - The UML annotation to process (currently ignored).
        roundEnv - Information about current round.
        false, since this method does not prevent other processor to process UML annotations.