PsiPrimitiveType
==
Primitive types should be compared with equals as Java 8 type annotations are also applicable for them.
equals
Replace with equals() call.
equals()