File tree Expand file tree Collapse file tree
atplug-runtime/src/main/java/com/diffplug/atplug Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77package com.diffplug.atplug
88
99import java.lang.annotation.Documented
10- import java.lang.annotation.Retention
11- import java.lang.annotation.RetentionPolicy
1210
1311/* * Marks that a method is used to generate metadata, and should therefore return a constant. */
1412@Documented
15- @Retention(RetentionPolicy .SOURCE )
13+ @kotlin.annotation. Retention (AnnotationRetention .SOURCE )
1614@Target(
1715 AnnotationTarget .FUNCTION , AnnotationTarget .PROPERTY_GETTER , AnnotationTarget .PROPERTY_SETTER )
1816annotation class Metadata
Original file line number Diff line number Diff line change 66 */
77package com.diffplug.atplug
88
9- import java.lang.annotation.Retention
10- import java.lang.annotation.RetentionPolicy
119import kotlin.reflect.KClass
1210
13- /* *
14- * Annotation which signals that this class implements the given socket.
15- *
16- * We should name this autOSGi
17- */
18- @Retention(RetentionPolicy .CLASS )
11+ /* * Annotation which signals that this class implements the given socket. */
12+ @kotlin.annotation.Retention (AnnotationRetention .BINARY )
1913@Target(AnnotationTarget .ANNOTATION_CLASS , AnnotationTarget .CLASS )
2014annotation class Plug (
2115 /* * Socket type which this plug implements. */
You can’t perform that action at this time.
0 commit comments