intellij-sdk-code-samples/code_samples/comparing_references_inspection
Yann Cébron cd23596f6b
223 release (#904)
* api_notable_list_2022.md: update unbundled plugins 2022.3

* element_patterns.md: new sample

* 2022.3 release: update GH links

* 2022.3 release: update GH links, #2

* EP list: initial, change android from GH to JB hosting temporarily + adapt links

* 223 release initial values

* stop recommending PreloadingActivity (internal API now)

* product specific EP lists

* element_patterns.md: minor

* code samples: upgrade

* extension_point_list.md: fix duplicate heading

* sdk_code_guidelines.md: update compatibility values

* spring_extension_point_list.md: update

* 223.7571.182
2022-11-30 20:31:23 +01:00
..
2022-11-28 17:31:11 +01:00
2022-11-30 20:31:23 +01:00
2022-11-28 17:31:11 +01:00
2022-11-28 17:31:11 +01:00
2021-11-08 17:31:16 +01:00

Comparing References Inspection Sample JetBrains IntelliJ Platform SDK Docs

Reference: Code Inspections in IntelliJ SDK Docs

Quickstart

Comparing References Inspection Sample demonstrates the implementation of the Code Inspections feature for Java classes.

The plugin inspects your Java code and highlights any fragments containing the comparison of two String or Date variables. If such a check finds a comparison using the == or != operators instead of the .equals() method, the plugin proposes a quick-fix action.

Extension Points

Name Implementation Extension Point Class
com.intellij.localInspection ComparingReferencesInspection AbstractBaseJavaLocalInspectionTool

Reference: Plugin Extension Points in IntelliJ SDK Docs