All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.jbock.simple.Provides Maven / Gradle / Ivy

There is a newer version: 1.024
Show newest version
package io.jbock.simple;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.SOURCE;

/**
 * Annotates static methods of a {@linkplain Component component}
 * to create a provider method binding.
 * 
 * 

The method's return type is bound to its returned value. * *

The {@linkplain Component component} * implementation will pass dependencies to the method as parameters. */ @Target(METHOD) @Retention(SOURCE) public @interface Provides { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy