public class RedundantThrowsDeclarationInspection extends GlobalJavaBatchInspectionTool
| Modifier and Type | Field and Description |
|---|---|
boolean |
IGNORE_ENTRY_POINTS |
myNameProvider| Constructor and Description |
|---|
RedundantThrowsDeclarationInspection() |
| Modifier and Type | Method and Description |
|---|---|
CommonProblemDescriptor [] |
checkElement(RefEntity refEntity,
AnalysisScope scope,
InspectionManager manager,
GlobalInspectionContext globalContext,
ProblemDescriptionsProcessor processor)
Processes and reports problems for a single element of the completed reference graph.
|
javax.swing.JComponent |
createOptionsPanel()
This method is called each time UI is shown.
|
RefGraphAnnotator |
getAnnotator(RefManager refManager)
Returns the annotator which will receive callbacks while the reference graph
is being built.
|
java.lang.String |
getHint(QuickFix fix)
Allows TeamCity plugin to serialize quick fixes on server in order to reconstruct them in idea
|
QuickFix |
getQuickFix(java.lang.String hint)
Allows TeamCity plugin to reconstruct quickfixes from server side data
|
LocalInspectionTool |
getSharedLocalInspectionTool()
Returns the local inspection tool used for highlighting in the editor.
|
protected boolean |
queryExternalUsagesRequests(RefManager manager,
GlobalJavaInspectionContext globalContext,
ProblemDescriptionsProcessor processor) |
isReadActionNeeded, queryExternalUsagesRequestscheckElement, compose, getAdditionalJobs, getAdditionalJobs, getSuppressId, isEnabledByDefault, isGraphNeeded, runInspection, worksInBatchModeOnlycleanup, getAlternativeID, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupDisplayName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettingspublic RedundantThrowsDeclarationInspection()
public javax.swing.JComponent createOptionsPanel()
InspectionProfileEntrycreateOptionsPanel in class InspectionProfileEntrynull if no UI options required.public CommonProblemDescriptor [] checkElement(RefEntity refEntity, AnalysisScope scope, InspectionManager manager, GlobalInspectionContext globalContext, ProblemDescriptionsProcessor processor)
GlobalInspectionToolcheckElement in class GlobalInspectionToolrefEntity - the reference graph element to check for problems.scope - the scope on which analysis was invoked.manager - the inspection manager instance for the project on which the inspection was run.globalContext - the context for the current global inspection run.processor - the collector for problems reported by the inspectionprotected boolean queryExternalUsagesRequests(RefManager manager, GlobalJavaInspectionContext globalContext, ProblemDescriptionsProcessor processor)
queryExternalUsagesRequests in class GlobalJavaBatchInspectionToolpublic QuickFix getQuickFix(java.lang.String hint)
GlobalInspectionToolgetQuickFix in class GlobalInspectionToolhint - a hint to distinguish different quick fixes for one problempublic java.lang.String getHint(QuickFix fix)
GlobalInspectionToolgetHint in class GlobalInspectionToolfix - fix to be serializedpublic RefGraphAnnotator getAnnotator(RefManager refManager)
GlobalInspectionToolUserDataHolder.putUserData(com.intellij.openapi.util.Key, Object).getAnnotator in class GlobalInspectionToolrefManager - the reference graph manager instanceGlobalInspectionTool.isGraphNeeded()public LocalInspectionTool getSharedLocalInspectionTool()
GlobalInspectionToolgetSharedLocalInspectionTool in class GlobalInspectionTool