eclipse-ee4j / eclipse-ee4j/jersey
Support Declarative Linking Annotations on Methods
Open
Component: core
declarative-linking
Priority: Major
pull-request
Type: Improvement
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
Currently the @InjectLink and the @InjectLinks annotations have a @Target that is limited to types (Field & Type). In cases where the response object is an interface, and specifically an interface that is represented as a Proxy instance, the annotations can't be used since there are no field declarations on an interface.
This is a request to full support the annotations when they appear on the "getters" within the interface (assuming a corresponding setter is available).
Contributor guide
Assessment
This issue has not been assessed yet.