com.intellij.openapi.compiler
Interface FileProcessingCompiler.ProcessingItem
- Enclosing interface:
- FileProcessingCompiler
public static interface FileProcessingCompiler.ProcessingItem
Describes a processing unit for this compiler - a virtual file with associated state.
EMPTY_ARRAY
static final FileProcessingCompiler.ProcessingItem[] EMPTY_ARRAY
- A utility constant used to return empty arrays of ProcessingItem objects
getFile
@NotNull
VirtualFile getFile()
- Returns the file to be processed.
- Returns:
- a file to be processed; cannot be null
getValidityState
@Nullable
ValidityState getValidityState()
- Returns:
- an object describing dependencies of the instrumented file (can be null).
For example, if the file "A" should be processed whenever file "B" or file "C" is changed, the ValidityState object can
be composed of a pair [timestamp("B"), timestamp("C")]. Thus, whenever a timestamp of any of these files is changed,
the current ValidityState won't be equal to the stored ValidityState and the item will be picked up by the make for recompilation.