google / google/guice

Enable to define a custom "@Inject" marker (ie add some extension point for reflection doing getAnnotation/isAnnotationPresent on this marker)

Open
#1,782 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

High level the idea is to be able to use guice without leaking it as an API in a product with some SPI/extension point.
Leaking `@Inject` is not always desired so would be neat to not require some bytecode manipulation to implement it, code does not look crazy and could even enable to make all last guice version "forks" to converge to a single version with this abstraction and be compatible with hybrid system using javax and jakarta modules.

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.