Class ServiceAnnotationProcessor

  • All Implemented Interfaces:
    Processor

    public class ServiceAnnotationProcessor
    extends AbstractProcessor
    Deprecated.
    Not used.
    This class is processing the @Service annotation and generates META-INF/services style text file for each interface annotated with @Contract
    Author:
    Jerome Dochez
    • Constructor Detail

      • ServiceAnnotationProcessor

        public ServiceAnnotationProcessor()
        Deprecated.
        Creates a new instance of ServiceAnnotationProcessor
    • Method Detail

      • loadExistingMetaInfFiles

        protected void loadExistingMetaInfFiles()
        Deprecated.
        Loads all existing META-INF/services file from our destination directory This is usuful because during incremental builds, not all source files are recompiled, henve we cannot rewrite the META-INF/services file from scratch each time, but append/remove entries from it as necessary.