Class BasicIncrementalCompileDriver
java.lang.Object
manifold.api.type.BasicIncrementalCompileDriver
- All Implemented Interfaces:
IIncrementalCompileDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionManifold's javac plugin calls this method after the ANALYZE phase of the class annotated with this method.booleanIs the compilation incremental, or is this a rebuild (full build)?
-
Constructor Details
-
BasicIncrementalCompileDriver
public BasicIncrementalCompileDriver(boolean incremental)
-
-
Method Details
-
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
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.
-