intellij-sdk-code-samples/comparing_references_inspection
2020-09-03 15:02:13 +02:00
..
2020-06-22 15:17:14 +02:00
2020-08-12 11:25:19 +02:00
2020-09-03 15:02:13 +02:00
2020-03-02 20:01:54 -08:00
2020-03-02 20:01:54 -08:00
2020-08-12 11:25:19 +02:00
2020-02-19 21:51:48 -08: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