d

defaultj

DefaultJ is a powerful Java library that provides default values for any class, offering multiple strategies for obtaining those values. It can be used as a dependency injection utility, similar to Guice. With 14 built-in strategies, DefaultJ can obtain default values through various means such as explicit bindings, annotations, enum values, factory methods, and more. It also supports custom annotations and offers annotation processors for validation. Available on Maven Central, DefaultJ can be easily integrated into Gradle and Maven projects. Contributions and selective usage of the library are encouraged.
https://github.com/NawaMan/DefaultJ
MIT License
nawaman.net
Nawapunth Manusitthipol
Files download
File Operation
defaultj-2.3.1.pom download
Apache Maven
<dependency>
  <groupId>io.defaultj</groupId>
  <artifactId>defaultj</artifactId>
  <version>2.3.1</version>
  <type>pom</type>
</dependency>
Gradle Groovy
implementation 'io.defaultj:defaultj:2.3.1'
Gradle Kotlin
implementation("io.defaultj:defaultj:2.3.1")
Scala SBT
libraryDependencies += "io.defaultj" % "defaultj" % "2.3.1"
Groovy Grape
@Grapes(
  @Grab(group='io.defaultj', module='defaultj', version='2.3.1')
)
Apache Ivy
<dependency org="io.defaultj" name="defaultj" rev="2.3.1" />
Leiningen
[io.defaultj/defaultj "2.3.1"]
Apache Buildr
'io.defaultj:defaultj:jar:2.3.1'
Dependencies
The project has no third-party dependencies