Ethan McCue

Results 90 comments of Ethan McCue

Okay so starting with `VariableElement` I need to find a way to a `TypeMirror` (which I think i can manage), and from there i can get all the annotation mirrors....

Yep, I just confirmed that with ```java import org.immutables.value.Value; import java.lang.annotation.ElementType; import java.lang.annotation.Target; @Target(ElementType.TYPE_USE) @interface ABC { } class Box {} @Value.Immutable public interface Val { @ABC Box v(); }...

I opened a bug on https://bugreport.java.com/ - `TypeMirror` is documented as having its toString be suitable for embedding in code - I'll update here if there is any movement. ```java...

oh this is looking good ![image](https://user-images.githubusercontent.com/5004262/151689972-60dd0030-92e0-46c8-aa88-d781e6d0a42c.png)

https://bugs.openjdk.java.net/browse/JDK-8281238

https://mail.openjdk.java.net/pipermail/compiler-dev/2022-February/019048.html

If there is no bug report for the nested type annotations, it seems making one is an effective thing to do

The zip file i left w/ the issue I filed has a minimal annotation processor build that might be useful for that