Class MainGenerator

    • Constructor Detail

      • MainGenerator

        public MainGenerator()
    • Method Detail

      • runAnnotation

        public static boolean runAnnotation()
      • createMarkerClass

        protected static void createMarkerClass()
        files created: src_dir.txt, marker.marker a marker class is to indicate when the generated files have been created used for comparison with the class files. if class files are newer, than the marker class, then regenerate the code
      • getRootPath_reverseNavigation

        public static File getRootPath_reverseNavigation​(File dir,
                                                         String name)
        navigates backwards from dir location to find the directory where file name is located
        Parameters:
        dir -
        name -
        Returns:
      • disableConsoleLogging

        public static void disableConsoleLogging()
        disable console log for annotation generation if annotations are running, without compilation error, then console log will be disabled