com.nikedlab.android.inject.annotations.Autowired Maven / Gradle / Ivy
The newest version!
package com.nikedlab.android.inject.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to indicate that setter method should be used for automatic wiring injection.
* @author Koert Zeilstra
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Autowired {
Class> implementation() default None.class;
static class None {
private static final long serialVersionUID= 1L;
private None() {
}
}
}