Stefan Gräber

Results comments of Stefan Gräber

A test would be really great for this, including the LTS versions starting from Java 8: 8, 11, 17, 21, 25 checking in compiled classes sounds as the most stable...

@freya022 at least https://github.com/JetBrains/java-annotations/blob/master/src/jvmMain/java/org/jetbrains/annotations/NotNull.java has RetentionPolicy.CLASS. which Annotation do you mean that has RetentionPolicy.SOURCE? Independent of the Target(TYPE_USE) topic, I don't see what we could do about RetentionPolicy.SOURCE as it...

ArchUnit already uses (only) ASM to read all files, so we have access to CLASS retention

I just tried a bit around with this issue and disagree with @hankem since that variant does not align with the reflection API as @daniel-huss said. I think this is...

I can't really localize the issue (and it might be a me-problem), but using windows 11 and IntelliJ, incremental builds fail with this error ``` > Task :archunit:compileJdk9mainJava FAILED repopath\ArchUnit\archunit\src\jdk9main\java\com\tngtech\archunit\core\domain\Java9DomainPlugin.java:30:...

> I was able to run ./gradlew :archunit:compileJdk9mainJava on ubuntu with openjdk 17. Maybe try running the gradle command directly? whether I used the IntelliJ buttons or the gradle command...

> Same observation from Australia. npm install either hangs for a long time before finishing, or not finishing at all. Confirm that install works if I use --no-audit, which is...

I'm currently actively working on since issue (like 1 day every two weeks, so don't expect a result too soon) and this topic is more complicated than I expected since...

> > It feels weird to me to let JavaCodeUnit.getReturnType() return the JavaAnnotatedParameterizedType in case of a JavaMethod, but void from a JavaConstructor while adding JavaConstructor.getAnnotatedReturnType() just to get the...

and If the constructor has its owner as return type, shall that count as dependency? Does a method returning `this` cause a dependency of that class to itself? Is calling...