com.nikedlab.android.inject.Autowired Maven / Gradle / Ivy
package com.nikedlab.android.inject;
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() {
}
}
}