timo-abele

Results 22 comments of timo-abele

> The one thing you do need it for is to handle import sorting, because the GJF IntelliJ plugin only takes over the "format code" function not "optimize imports". As...

We are having the same issue with `resttemplate`. As can be seen here https://github.com/OpenAPITools/openapi-generator/blob/783e68c7acbbdcbb2282d167d1644b069f12d486/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/api_test.mustache#L7-L8 they are also still using Junit4.

I managed to condense the original to something reproducible: ````java import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.fail; import lombok.Getter; class MyTest { class DebugEnum { @Getter private String key = "9";...

I'm afraid I won't find the time to do this any time soon @argem, but I hope my PR #18222 can serve as a starting point if you want to...

Since this got closed 3 times already, I'm not sure which of the requirements in the original post are already considered done. I just observed that a combination of two...

Hi @tkleiber, I've noticed this as well and had opened a discussion here: https://github.com/docToolchain/docToolchain/discussions/1325#discussion-6003655. As far as I can see (from interpreting the build files in [.github](https://github.com/docToolchain/docToolchain/tree/0b286ef40edcf41f7de096dd3840857b5fe80404/.github)) the documentation is...

I'm OK with the issue being closed, I've reported the bug, and leave it to your discretion whether this is appropriately addressed. I haven't really understood the "missing types" thing...

I think I found another one, someone called their `@AfterEach` annotated method "`finalize`", (unwittingly?) overriding `Object.finalize`. As overriding must not reduce visibility, this breaks the build.

I found the original code again! The number of arguments does seem to be an issue for Java, the (IntelliJ) error message is "Expected 1 arguments but found 2", so...

Hmm, discriminating by "same number of arguments" solves my use case (thank you so much!), because it excludes the problematic case from https://github.com/openrewrite/rewrite-static-analysis/issues/162 ``` void aMethod(Consumer consumer) void aMethod(Function function)...