1 package org.robolectric.util.inject; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.ElementType; 5 import java.lang.annotation.Retention; 6 import java.lang.annotation.RetentionPolicy; 7 import java.lang.annotation.Target; 8 9 /** Indicates that the annotated type is intended as a replacement for another type. */ 10 @Documented 11 @Retention(RetentionPolicy.RUNTIME) 12 @Target(ElementType.TYPE) 13 public @interface Supercedes { 14 15 /** The type that is superceded by the annotated type. */ value()16 Class<?> value(); 17 18 } 19