static boolean bitwiseTypeRestriction(@NotNull PsiVariable variable) {
    return variable.getType() instanceof PsiPrimitiveType
           && (variable.getType().equals(PsiTypes.intType()) || variable.getType().equals(PsiTypes.longType()));
  }
static boolean bitwiseTypeRestriction(@NotNull PsiVariable variable)