@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface Description
@Test
@Description("This is an example of my test")
public void myTest() throws Exception {
...
}
DescriptionType| Modifier and Type | Required Element and Description |
|---|---|
String |
value |
| Modifier and Type | Optional Element and Description |
|---|---|
DescriptionType |
type |
public abstract String value
public abstract DescriptionType type
Copyright © 2017 Yandex. All rights reserved.