| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| AutoFactory 1.1.0 source code.tar.gz | 2023-11-20 | 425.9 kB | |
| AutoFactory 1.1.0 source code.zip | 2023-11-20 | 767.0 kB | |
| README.md | 2023-11-20 | 1.0 kB | |
| Totals: 3 Items | 1.2 MB | 0 | |
- AutoFactory now recognizes and generates both
javax.injectandjakarta.inject. Ifjakarta.injectis on the classpath then it will be used, and otherwisejavax.inject. A new compiler option-Acom.google.auto.factory.InjectApican be set to eitherjavaxorjakartato force the use of one or the other. (67772b26d) - There is now a way to add annotations to generated AutoFactory classes. See the javadoc for
@AutoFactory.AnnotationsToApply. (b2a1c0885) - The exception message for a null value now indicates not only which number argument it is but also how many arguments there are in total. This may lead to a small increase in code size. (ab6c7bfb6)
- AutoFactory now correctly handles the case where a parameter annotation has
@Targetwith bothPARAMETERandTYPE_USE. (9d455fa17) - When a requested supertype of the generated factory class has a type parameter, the generated class now always has the same parameter. (206b67396)
- Better error message when detecting duplicate parameters (59ec5e659)