public static boolean isIntegral(PsiType lhsType) {
    return lhsType != null &&
           (lhsType.equals(PsiTypes.intType())
            || lhsType.equals(PsiTypes.shortType())
            || lhsType.equals(PsiTypes.longType())
            || lhsType.equals(PsiTypes.byteType()));
  }
public static boolean isIntegral(PsiType lhsType)