boolean (PsiType type) { if (PsiTypes.charType().equals(type) || PsiTypes.byteType().equals(type) || PsiTypes.shortType().equals(type) || PsiTypes.intType() .equals(type)) { return true; } final String text = type.getCanonicalText(); return CommonClassNames.JAVA_LANG_CHARACTER.equals(text) || CommonClassNames.JAVA_LANG_BYTE.equals(text) || CommonClassNames.JAVA_LANG_SHORT.equals(text) || CommonClassNames.JAVA_LANG_INTEGER.equals(text); }