mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
25 lines
457 B
Java
25 lines
457 B
Java
@interface TestAnnotationField {}
|
|
@interface TestAnnotationParam {}
|
|
@interface TestAnnotationGet {}
|
|
@interface TestAnnotationSet {}
|
|
|
|
|
|
public class Test {
|
|
@TestAnnotationField
|
|
private String arg;
|
|
|
|
public Test(@TestAnnotationParam String arg) {
|
|
this.arg = arg;
|
|
}
|
|
|
|
@TestAnnotationGet
|
|
public String getArg() {
|
|
return arg;
|
|
}
|
|
|
|
@TestAnnotationSet
|
|
public void setArg(String arg) {
|
|
this.arg = arg;
|
|
}
|
|
}
|