intellij-sdk-code-samples/code_samples/comparing_string_references_inspection
Yann Cébron 1fc7957ab0
2025.1 release (#1449)
* 251: update GH links in topics

* code_samples: Gradle 2.x (WIP)

* code_samples: Gradle 2.x (WIP)

* code_samples: Gradle 2.x (WIP)

* code_samples: Gradle 2.x (WIP)

* code_samples: Gradle 2.x (WIP)

* code_samples: Gradle 2.x (WIP)

* GH: theme_basics is not a Gradle project

* GH: remove deleted kotlin_demo project

* README: remove deleted kotlin_demo project

* code_samples: remove product_specific

* 2025.1 Beta3

* code_samples: remove obsolete kotlin_demo dir

* code_samples: add .intellijPlatform to .gitignore

* stub_indexes.md: fix gh link

* api_notable_list_2020.md: fix gh link

* code_samples: add .gitignore for standalone repo

* code_samples: build against latest 2024.2.x, set since-build explicitly

* code_samples: fix framework_basics

* Update EP and Listener lists

* Convert %gh-ic-master% links to %gh-ic%

* additional_minor_features.md: Update link to FileIncludeProvider

* api_notable_list_2020.md: Add note about internal API

* status_bar_widgets.md: Update StatusBarWidget.TextPresentation example

The previous example doesn't implement TextPresentation any more.

---------

Co-authored-by: Karol Lewandowski <karol.lewandowski@jetbrains.com>
2025-04-16 14:49:28 +02:00
..
2025-02-26 09:36:25 +01:00
2025-04-16 14:49:28 +02:00
2025-02-26 09:36:25 +01: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