private static <T> void handleSimplification(ChainSimplificationCase<T> inspection, Project project, PsiMethodCallExpression call) {
    if (!inspection.getMatcher().matches(call)) return;
    T context = inspection.extractContext(project, call);
    if (context != null) {
      inspection.apply(project, call, context);
    }
  }
private static <T> void handleSimplification(ChainSimplificationCase<T> inspection, Project project, PsiMethodCallExpression call)