KtLightElements: make light annotations lazier
Allow to get annotation list and to invoke `findAnnotation` without building delegate
Introduce KtLightNullabilityAnnotation which holds nullability information and is built
before delegate is built
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
@kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.SOURCE)
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.TYPE_PARAMETER})
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
@kotlin.annotation.Repeatable
|
||||
@java.lang.annotation.Documented
|
||||
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE)
|
||||
@java.lang.annotation.Target({})
|
||||
public @interface Anno {
|
||||
int i();
|
||||
}
|
||||
Reference in New Issue
Block a user