mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
21 lines
429 B
Java
21 lines
429 B
Java
import java.lang.annotation.*;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
@R("a")
|
|
@R("b")
|
|
class repeatableAnnotations {}
|
|
|
|
@Documented
|
|
@Repeatable(R.Rs.class)
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
@Target({ElementType.FIELD, ElementType.TYPE})
|
|
@interface R {
|
|
String value();
|
|
@Documented
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
@Target({ElementType.TYPE, ElementType.FIELD})
|
|
public @interface Rs {
|
|
R[] value();
|
|
}
|
|
} |