Files
openide/platform/inspect/src/com/intellij/codeInspection/InspectionToolCmdlineOptions.java
Johannes Koenen e2944e826f QD-8426: Launch Qodana using ModernApplicationStarter
[QD-8426] Properly suspend in project opening & configuration

Like in db06df3bd4ce31fbd56d74dccda89b15322b4136 we need to use different
dispatching behaviour in prod/test to avoid an EDT deadlock, this time in
the golang configurator

[QD-8426] Rename interface

[QD-8426] Merge InspectionApplication into InspectionApplicationBase

Add deprecation annotation because of API check

[QD-8426] Delegate all message reporting

[QD-8429] Remove ProgressManager from QodanaInspectionApplication

[QD-8426] Fully decouple QodanaInspectionApplication from InspectionApplicationBase

[QD-8426] Update InspectionMain to ModernApplicationStarter

[QD-8426] Convert InspectionApplicationFactory and InspectionMain to kotlin

Rename .java to .kt

QD-8426


Merge-request: IJ-MR-126583
Merged-by: Johannes Koenen <Johannes.Koenen@jetbrains.com>

GitOrigin-RevId: bc152d816e2acad9bd20a6c7db512108377995b0
2024-02-26 17:45:11 +00:00

36 lines
831 B
Java

package com.intellij.codeInspection;
/**
* @author Roman.Chernyatchik
*/
public interface InspectionToolCmdlineOptions extends InspectionToolCmdlineOptionHelpProvider {
/**
* @param app Inspection Application
*/
void initApplication(InspectionApplicationBase app);
/**
* @return 0 if turned off
*/
int getVerboseLevelProperty();
/**
* @return If true help message wont be outputted
*/
boolean suppressHelp();
void validate() throws CmdlineArgsValidationException;
/**
* Application components have been already initialized at this moment.
* E.g. you can save smth in application component or service
*/
void beforeStartup();
class CmdlineArgsValidationException extends Exception {
public CmdlineArgsValidationException(String message) {
super(message);
}
}
}