mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
21 lines
431 B
Kotlin
Vendored
21 lines
431 B
Kotlin
Vendored
// FILE: DocumentedAnnotations.java
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
public class DocumentedAnnotations {
|
|
|
|
@Documented public @interface DocAnn;
|
|
|
|
public @interface NotDocAnn;
|
|
|
|
@Documented @Retention(RetentionPolicy.RUNTIME) public @interface RunDocAnn;
|
|
}
|
|
|
|
// FILE: DocumentedAnnotations.kt
|
|
|
|
@DocumentedAnnotations.DocAnn class My
|
|
|
|
@DocumentedAnnotations.NotDocAnn class Your
|
|
|
|
@DocumentedAnnotations.RunDocAnn class His
|