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)
FileProcessingCompilerFileProcessingCompiler.process(com.intellij.openapi.compiler.CompileContext, com.intellij.openapi.compiler.FileProcessingCompiler.ProcessingItem[]) methodgetProcessingItems in interface FileProcessingCompilercontext - the current compilation context.public FileProcessingCompiler.ProcessingItem[] process(CompileContext context, FileProcessingCompiler.ProcessingItem[] items)
FileProcessingCompilerprocess in interface FileProcessingCompilercontext - 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()
CompilergetDescription in interface Compilerpublic boolean validateConfiguration(CompileScope scope)
CompilervalidateConfiguration in interface Compilerscope - the scope on which the compilation is started.public ValidityState createValidityState(java.io.DataInput in) throws java.io.IOException
ValidityStateFactorycreateValidityState in interface ValidityStateFactoryjava.io.IOExceptionValidityState