Package manifold.api.type
Class BasicIncrementalCompileDriver
- java.lang.Object
-
- manifold.api.type.BasicIncrementalCompileDriver
-
- All Implemented Interfaces:
IIncrementalCompileDriver
public class BasicIncrementalCompileDriver extends Object implements IIncrementalCompileDriver
-
-
Constructor Summary
Constructors Constructor Description BasicIncrementalCompileDriver(boolean incremental)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<File>getChangedFiles()Manifold's javac plugin calls this method after the ANALYZE phase of the class annotated with this method.booleanisIncremental()Is the compilation incremental, or is this a rebuild (full build)?
-
-
-
Method Detail
-
isIncremental
public boolean isIncremental()
Description copied from interface:IIncrementalCompileDriverIs the compilation incremental, or is this a rebuild (full build)?- Specified by:
isIncrementalin interfaceIIncrementalCompileDriver- Returns:
- true if an incremental build, otherwise false indicating a rebuild.
-
getChangedFiles
public Collection<File> getChangedFiles()
Description copied from interface:IIncrementalCompileDriverManifold'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:
getChangedFilesin interfaceIIncrementalCompileDriver- Returns:
- The resource files that have changed since the last make/build.
-
-