Files
kotlin-fork/nj2k/testData/newJ2k/detectProperties/DataClassWithAnnotations.java
T
2019-05-31 00:25:52 +03:00

25 lines
457 B
Java
Vendored

@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;
}
}