io.jbock.simple.Provides Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-component Show documentation
Show all versions of simple-component Show documentation
annotations for simple-component
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 {
}