@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface JkInject
KBean
class from 'jeka/def' source directory.
But when used on a public field of type KBean
within a KBean
class,
the annotated field is injected with an initialised KBean
instance of the imported project.Example :
public class FatJarBuild extends KBean {
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
Dependee project relative path
|