public class InspectionValidatorWrapper extends java.lang.Object implements Validator
FileProcessingCompiler.ProcessingItem
Constructor and Description |
---|
InspectionValidatorWrapper(CompilerManager compilerManager,
InspectionManager inspectionManager,
InspectionProjectProfileManager profileManager,
PsiDocumentManager psiDocumentManager,
PsiManager psiManager,
InspectionValidator validator) |
Modifier and Type | Method and Description |
---|---|
static InspectionValidatorWrapper |
create(Project project,
InspectionValidator validator) |
ValidityState |
createValidityState(java.io.DataInput in)
Used for deserialization of ValidityState objects from compiler internal caches.
|
java.lang.String |
getDescription()
Returns the description of the compiler.
|
FileProcessingCompiler.ProcessingItem [] |
getProcessingItems(CompileContext context)
Returns the items which will be processed in the current compile operation.
|
static boolean |
isCompilationThread() |
FileProcessingCompiler.ProcessingItem[] |
process(CompileContext context,
FileProcessingCompiler.ProcessingItem[] items)
Compiles the specified items.
|
boolean |
validateConfiguration(CompileScope scope)
Called before compilation starts.
|
public InspectionValidatorWrapper(CompilerManager compilerManager, InspectionManager inspectionManager, InspectionProjectProfileManager profileManager, PsiDocumentManager psiDocumentManager, PsiManager psiManager, InspectionValidator validator)
public static InspectionValidatorWrapper create(Project project, InspectionValidator validator)
public static boolean isCompilationThread()
public FileProcessingCompiler.ProcessingItem [] getProcessingItems(CompileContext context)
FileProcessingCompiler
FileProcessingCompiler.process(com.intellij.openapi.compiler.CompileContext, com.intellij.openapi.compiler.FileProcessingCompiler.ProcessingItem[])
methodgetProcessingItems
in interface FileProcessingCompiler
context
- the current compilation context.public FileProcessingCompiler.ProcessingItem[] process(CompileContext context, FileProcessingCompiler.ProcessingItem[] items)
FileProcessingCompiler
process
in interface FileProcessingCompiler
context
- the current compilation context.items
- items to be processed, selected by make subsystem. The items are selected from the list returned by the
FileProcessingCompiler.getProcessingItems(com.intellij.openapi.compiler.CompileContext)
method.public java.lang.String getDescription()
Compiler
getDescription
in interface Compiler
public boolean validateConfiguration(CompileScope scope)
Compiler
validateConfiguration
in interface Compiler
scope
- the scope on which the compilation is started.public ValidityState createValidityState(java.io.DataInput in) throws java.io.IOException
ValidityStateFactory
createValidityState
in interface ValidityStateFactory
java.io.IOException
ValidityState