Use 'PsiType#equals(Object)' with primitive types
Reports comparing PsiPrimitiveType
instances using ==
.
Primitive types should be compared with equals
as Java 8 type annotations are also applicable for them.
Replace with equals()
call.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Plugin DevKit, 241.16690 |
Last modified: 29 April 2024