001package sting;
002
003import java.lang.annotation.Documented;
004import java.lang.annotation.ElementType;
005import java.lang.annotation.Retention;
006import java.lang.annotation.RetentionPolicy;
007import java.lang.annotation.Target;
008
009/**
010 * Annotation indicating that the component should be eagerly instantiated when the {@link Injector}
011 * is created. The annotation may be applied to types annotated by {@link Injectable}, to types
012 * annotated with an annotation meta-annotated by {@link ActAsStingProvider} or
013 * {@link ActAsStingComponent}, or to methods contained in types annotated by {@link Fragment}.
014 */
015@Documented
016@Retention( RetentionPolicy.RUNTIME )
017@Target( { ElementType.TYPE, ElementType.METHOD } )
018public @interface Eager
019{
020}