Skip to content

no arg constructor support on pico interceptors#6552

Merged
trentjeff merged 6 commits into
helidon-io:mainfrom
trentjeff:issue-6530-no-arg-ctors
Apr 5, 2023
Merged

no arg constructor support on pico interceptors#6552
trentjeff merged 6 commits into
helidon-io:mainfrom
trentjeff:issue-6530-no-arg-ctors

Conversation

@trentjeff

Copy link
Copy Markdown
Contributor

Address issue #6530

@trentjeff trentjeff added this to the 4.0.0-ALPHA6 milestone Apr 4, 2023
@trentjeff trentjeff self-assigned this Apr 4, 2023
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 4, 2023
TypeElement te = processEnv.getElementUtils().getTypeElement(typeName.name());
Objects.requireNonNull(te, typeName.toString());
boolean hasIt = te.getEnclosedElements().stream()
// _note to self_: there needs to be a better way than this!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyone know of a better way to test if a method belongs to an interface element in annotation processing? I couldn't find anything.

@trentjeff trentjeff added the declarative Helidon Declarative label Apr 4, 2023
Comment thread pico/api/src/main/java/io/helidon/pico/ServiceProviderBindable.java Outdated
@trentjeff trentjeff merged commit b354eb0 into helidon-io:main Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

declarative Helidon Declarative OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants