private static void processPatternVariables(@NotNull PsiExpression subExpression) {
    List<PsiPatternVariable> variables = JavaPsiPatternUtil.getExposedPatternVariables(subExpression);
    for (PsiPatternVariable variable : variables) {
      retargetPatternVariable(subExpression, variable);
    }
  }
private static void processPatternVariables(@NotNull PsiExpression subExpression)