From e96ddf64ce3626577a6ed5023a28c054c88c6b12 Mon Sep 17 00:00:00 2001 From: h908714124 Date: Fri, 8 Dec 2023 12:26:13 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ec28c1..a7f521e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![simple-component-compiler](https://maven-badges.herokuapp.com/maven-central/io.github.jbock-java/simple-component-compiler/badge.svg?color=grey&subject=simple-component-compiler)](https://maven-badges.herokuapp.com/maven-central/io.github.jbock-java/simple-component-compiler) [![simple-component](https://maven-badges.herokuapp.com/maven-central/io.github.jbock-java/simple-component/badge.svg?subject=simple-component)](https://maven-badges.herokuapp.com/maven-central/io.github.jbock-java/simple-component) -A minimal dependency injector that uses the following annotations: +A minimal dependency injector that uses the following annotations (from `javax.inject` or `jakarta.inject`): 1. `@Inject` declares an injection point. It can be a constructor or a static method. 2. `@Provides` declares an injection point within the component. It must be a static method.