PsiType (PsiPrimitiveType type) { if (PsiTypes.byteType().equals(type) || PsiTypes.shortType().equals(type) || PsiTypes.charType().equals(type) || PsiTypes.intType() .equals(type)) { return PsiTypes.intType(); } return null; }