mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
At this very short moment Kotlin supports both annotation(retention, repeatable, mustBeDocumented) and Retention / Repeatable / MustBeDocumented separately.
38 lines
1.3 KiB
Plaintext
Vendored
38 lines
1.3 KiB
Plaintext
Vendored
package test
|
|
|
|
public open class AnnotationRetentions {
|
|
public constructor AnnotationRetentions()
|
|
|
|
public final class BaseAnnotation : kotlin.Annotation {
|
|
public constructor BaseAnnotation()
|
|
}
|
|
|
|
test.AnnotationRetentions.BaseAnnotation() public/*package*/ open inner class BaseClass {
|
|
public/*package*/ constructor BaseClass()
|
|
}
|
|
|
|
kotlin.annotation.Retention(value = AnnotationRetention.BINARY) public final class BinaryAnnotation : kotlin.Annotation {
|
|
public constructor BinaryAnnotation()
|
|
}
|
|
|
|
test.AnnotationRetentions.BinaryAnnotation() public/*package*/ open inner class BinaryClass {
|
|
public/*package*/ constructor BinaryClass()
|
|
}
|
|
|
|
kotlin.annotation.Retention(value = AnnotationRetention.RUNTIME) public final class RuntimeAnnotation : kotlin.Annotation {
|
|
public constructor RuntimeAnnotation()
|
|
}
|
|
|
|
test.AnnotationRetentions.RuntimeAnnotation() public/*package*/ open inner class RuntimeClass {
|
|
public/*package*/ constructor RuntimeClass()
|
|
}
|
|
|
|
kotlin.annotation.Retention(value = AnnotationRetention.SOURCE) public final class SourceAnnotation : kotlin.Annotation {
|
|
public constructor SourceAnnotation()
|
|
}
|
|
|
|
public/*package*/ open inner class SourceClass {
|
|
public/*package*/ constructor SourceClass()
|
|
}
|
|
}
|