Use 'PsiType#equals(Object)' with primitive types

Last modified: 03 December 2024

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.