public abstract class AbstractInspectionToolStarter extends java.lang.Object implements ApplicationStarter
Modifier and Type | Field and Description |
---|---|
protected InspectionApplication |
myApplication |
protected InspectionToolCmdlineOptions |
myOptions |
ANY_MODALITY, EP_NAME, NON_MODAL, NOT_IN_EDT
Constructor and Description |
---|
AbstractInspectionToolStarter() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractInspectionCmdlineOptions |
createCmdlineOptions() |
protected InspectionApplication |
getApplication() |
void |
main(java.lang.String [] args) |
void |
premain(java.util.List<java.lang.String> args)
Called before application initialization.
|
protected void |
printArgs(java.util.List<java.lang.String> args,
java.lang.StringBuilder buff) |
protected void |
printHelpAndExit(java.util.List<java.lang.String> args,
InspectionToolCmdlineOptions opts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowAnyModalityState, canProcessExternalCommandLine, getCommandName, getRequiredModality, isHeadless, main, premain, processExternalCommandLineAsync
protected InspectionApplication myApplication
protected InspectionToolCmdlineOptions myOptions
protected abstract AbstractInspectionCmdlineOptions createCmdlineOptions()
public void premain(java.util.List<java.lang.String> args)
ApplicationStarter
premain
in interface ApplicationStarter
args
- program arguments (including the selector)protected InspectionApplication getApplication()
public void main(java.lang.String [] args)
main
in interface ApplicationStarter
protected void printArgs(java.util.List<java.lang.String> args, java.lang.StringBuilder buff)
protected void printHelpAndExit(java.util.List<java.lang.String> args, InspectionToolCmdlineOptions opts)