eclipse-ee4j / eclipse-ee4j/jersey

Support Declarative Linking Annotations on Methods

Open
#3,034 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.