Class BasicIncrementalCompileDriver

    • Constructor Detail

      • BasicIncrementalCompileDriver

        public BasicIncrementalCompileDriver​(boolean incremental)
    • Method Detail

      • isIncremental

        public boolean isIncremental()
        Description copied from interface: IIncrementalCompileDriver
        Is the compilation incremental, or is this a rebuild (full build)?
        Specified by:
        isIncremental in interface IIncrementalCompileDriver
        Returns:
        true if an incremental build, otherwise false indicating a rebuild.
      • getChangedFiles

        public Collection<File> getChangedFiles()
        Description copied from interface: IIncrementalCompileDriver
        Manifold's javac plugin calls this method after the ANALYZE phase of the class annotated with this method. Typically the class annotated with this method is temporary and generated on the fly and within the IDE hosting the compiler. The IDE keeps track of resource files that have changed. Returns all changed resources files (skips Java files); Manifold will figure out whether or not each resource file maps to a Type Manifold and, if so, finds the type[s] produced from the file. In turn the javac plugin associates types corresponding with the file via IjChangedResourceFiles#getTypesToFile().
        Specified by:
        getChangedFiles in interface IIncrementalCompileDriver
        Returns:
        The resource files that have changed since the last make/build.