[KAPT4] KT-61729 Resolve annotation arguments during generation of @Metadata annotations
This commit is contained in:
committed by
Space Team
parent
798e832943
commit
9d43945b19
@@ -0,0 +1,27 @@
|
||||
// FULL_JDK
|
||||
|
||||
// FILE: a/LinkifyMask.kt
|
||||
package a
|
||||
|
||||
import b.RestrictTo
|
||||
|
||||
object SphinxLinkify {
|
||||
private fun addLinks(
|
||||
@LinkifyMask mask: Int
|
||||
) {}
|
||||
}
|
||||
|
||||
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX)
|
||||
annotation class LinkifyMask
|
||||
|
||||
// FILE: b/RestrictTo.java
|
||||
|
||||
package b;
|
||||
|
||||
public @interface RestrictTo {
|
||||
Scope[] value();
|
||||
|
||||
enum Scope {
|
||||
LIBRARY_GROUP_PREFIX,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user