Fix for JDK-8225377 made effort to retrieve type annotations from the class file and add them to the corresponding type. This surfaced an old problem which is that there isn't a standard way to retrieve type annotations applied to a constructor return's type. Currently developers have to manually get those annotations from the AST or from the classfile. Having a standard API to retrieve them both from source and bytecode would be very desirable. See also the discussion at: https://github.com/openjdk/jdk/pull/16774
add a standard way to retrieve type annotations applied to the return type of a constructor
-
Vicente Arturo Romero Zaldivar
-
Vicente Arturo Romero Zaldivar
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated: