| 1 |
package testlib.nontopdefault.qual; |
| 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 |
import org.checkerframework.framework.qual.DefaultFor; |
| 9 |
import org.checkerframework.framework.qual.DefaultInUncheckedCodeFor; |
| 10 |
import org.checkerframework.framework.qual.SubtypeOf; |
| 11 |
import org.checkerframework.framework.qual.TargetLocations; |
| 12 |
import org.checkerframework.framework.qual.TypeUseLocation; |
| 13 |
|
| 14 |
@Documented |
| 15 |
@Retention(RetentionPolicy.RUNTIME) |
| 16 |
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) |
| 17 |
@TargetLocations({TypeUseLocation.EXPLICIT_LOWER_BOUND, TypeUseLocation.EXPLICIT_UPPER_BOUND}) |
| 18 |
@SubtypeOf({NTDMiddle.class, NTDSide.class}) |
| 19 |
@DefaultInUncheckedCodeFor({TypeUseLocation.LOWER_BOUND}) |
| 20 |
@DefaultFor({TypeUseLocation.LOWER_BOUND}) |
| 21 |
public @interface NTDBottom {} |