public static boolean isSuperOrThisCall(GrStatement statement, boolean testForSuper, boolean testForThis) {
    if (!(statement instanceof GrConstructorInvocation expr)) return false;
    return (testForSuper && expr.isSuperCall()) || (testForThis && expr.isThisCall());
  }
public static boolean isSuperOrThisCall(GrStatement statement, boolean testForSuper, boolean testForThis)