intellij-sdk-code-samples/comparing_string_references_inspection
Yann Cébron 5e30bef504 2024.3 release (#1376)
* switch to 243, update gh-ic links

* code samples: build against 2024.1

* action_basics: mute warning in PopupDialogAction

* GH build: mute invalid plugin ID on CI

* GH build: mute invalid plugin ID on CI

* final 2024.3, regen EP-lists

* code samples: 2024.3
2024-11-13 16:23:03 +01:00
..
2024-11-12 10:09:50 +01:00
2024-11-13 16:23:03 +01:00
2024-07-16 10:59:02 +02:00
2024-07-16 10:59:02 +02:00
2023-12-07 12:29:33 +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 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 ComparingStringReferencesInspection AbstractBaseJavaLocalInspectionTool

Reference: Plugin Extension Points in IntelliJ SDK Docs