public class UnusedReturnValue extends GlobalJavaBatchInspectionTool
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_HIGHEST_MODIFIER |
java.lang.String |
highestModifier |
boolean |
IGNORE_BUILDER_PATTERN |
myNameProvider| Constructor and Description |
|---|
UnusedReturnValue() |
| 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.
|
java.lang.String |
getGroupDisplayName() |
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.
|
java.lang.String |
getShortName()
DO NOT OVERRIDE this method.
|
protected boolean |
queryExternalUsagesRequests(RefManager manager,
GlobalJavaInspectionContext globalContext,
ProblemDescriptionsProcessor processor) |
void |
writeSettings(Element node)
Store current settings in XML config.
|
isReadActionNeeded, queryExternalUsagesRequestscheckElement, compose, getAdditionalJobs, getAdditionalJobs, getAnnotator, getHint, getSuppressId, isEnabledByDefault, isGraphNeeded, runInspection, worksInBatchModeOnlycleanup, getAlternativeID, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptionspublic boolean IGNORE_BUILDER_PATTERN
public static final java.lang.String DEFAULT_HIGHEST_MODIFIER
public java.lang.String highestModifier
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 inspectionpublic void writeSettings(Element node)
throws WriteExternalException
InspectionProfileEntryint TOOL_OPTION)
and bean-style getters/setters (like int getToolOption(), void setToolOption(int)) to store your options.writeSettings in class InspectionProfileEntrynode - to store settings to.WriteExternalExceptionpublic javax.swing.JComponent createOptionsPanel()
InspectionProfileEntrycreateOptionsPanel in class InspectionProfileEntrynull if no UI options required.protected boolean queryExternalUsagesRequests(RefManager manager, GlobalJavaInspectionContext globalContext, ProblemDescriptionsProcessor processor)
queryExternalUsagesRequests in class GlobalJavaBatchInspectionToolpublic java.lang.String getGroupDisplayName()
getGroupDisplayName in class InspectionProfileEntryInspectionEP.groupDisplayName,
InspectionEP.groupKey,
InspectionEP.groupBundlepublic java.lang.String getShortName()
InspectionProfileEntrygetShortName in class InspectionProfileEntryInspectionEP.shortNamepublic QuickFix getQuickFix(java.lang.String hint)
GlobalInspectionToolgetQuickFix in class GlobalInspectionToolhint - a hint to distinguish different quick fixes for one problempublic LocalInspectionTool getSharedLocalInspectionTool()
GlobalInspectionToolgetSharedLocalInspectionTool in class GlobalInspectionTool