intellij-sdk-code-samples/code_samples/comparing_references_inspection
Yann Cébron 894e6e3ccb
221 release (#686)
* 2022.1 release: upsource, topic links

* 2022.1 release: EP lists

* 2022.1 release: code samples build against 2021.2.4, adjust since/until-build

* code samples/pycharm_basics: 2021.2.4

* 2022.1 release: rider_extension_point_list.md

* 2022.1 release: data_grip_extension_point_list.md

* 2022.1 release: set upsource properties

* 2022.1 release: set plugin verifier versions
2022-04-12 16:39:27 +02:00
..
2022-03-14 10:45:00 +01:00
2022-04-12 16:39:27 +02:00
2022-02-08 17:44:47 +01:00
2020-10-15 17:10:31 +02: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