[KAPT4] KT-61729 Resolve annotation arguments during generation of @Metadata annotations

This commit is contained in:
strangepleasures
2023-09-06 19:47:28 +00:00
committed by Space Team
parent 798e832943
commit 9d43945b19
7 changed files with 172 additions and 1 deletions
@@ -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,
}
}