blob: 7d25d562b91df1cfeb8a32c52c2f838ba1db7a15 (
plain)
1
2
3
4
5
6
7
8
9
|
import java.lang.annotation.*;
import java.util.*;
@Target(value = ElementType.TYPE_USE)
public @interface TA { }
class Test {
Collection<@TA Integer> list = new ArrayList<>(2);
}
|