[AA] introduce AnnotationUseSiteTargetFilter to simplify API

^KT-56046
This commit is contained in:
Dmitrii Gridin
2023-01-27 21:05:51 +01:00
committed by Space Team
parent 6e25b45f7d
commit 93232a23df
31 changed files with 325 additions and 249 deletions
@@ -1,5 +1,5 @@
public enum AnnotationsOnEnumEntry /* two.AnnotationsOnEnumEntry*/ {
@two.PropertyImplicitly() @two.FieldImplicitly() @two.FieldExplicitly() EntryWithoutConstructor,
@two.PropertyImplicitly() @two.PropertyExplicitly() @two.FieldImplicitly() @two.FieldExplicitly() EntryWithoutConstructor,
@two.PropertyImplicitly() @two.FieldImplicitly() EntryWithConstructor,
EntryWithConstructor2;
@@ -1,39 +0,0 @@
public enum AnnotationsOnEnumEntry /* two.AnnotationsOnEnumEntry*/ {
@two.PropertyImplicitly() @two.PropertyExplicitly() @two.FieldImplicitly() @two.FieldExplicitly() EntryWithoutConstructor,
@two.PropertyImplicitly() @two.FieldImplicitly() EntryWithConstructor,
EntryWithConstructor2;
@org.jetbrains.annotations.NotNull()
public static two.AnnotationsOnEnumEntry valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static two.AnnotationsOnEnumEntry[] values();// values()
private AnnotationsOnEnumEntry(int);// .ctor(int)
public final void foo();// foo()
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.FIELD})
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.FIELD})
public abstract @interface FieldExplicitly /* two.FieldExplicitly*/ {
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.FIELD})
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.FIELD})
public abstract @interface FieldImplicitly /* two.FieldImplicitly*/ {
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value = {})
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.PROPERTY})
public abstract @interface PropertyExplicitly /* two.PropertyExplicitly*/ {
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(value = {})
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.PROPERTY})
public abstract @interface PropertyImplicitly /* two.PropertyImplicitly*/ {
}
@@ -0,0 +1,19 @@
public final class FieldModifiersKt /* FieldModifiersKt*/ {
@kotlin.jvm.Transient()
@kotlin.jvm.Volatile()
@org.jetbrains.annotations.NotNull()
private static transient volatile java.lang.String explicit;
@kotlin.jvm.Transient()
@kotlin.jvm.Volatile()
private static transient volatile int implicit;
@org.jetbrains.annotations.NotNull()
public static final java.lang.String getExplicit();// getExplicit()
public static final int getImplicit();// getImplicit()
public static final void setExplicit(@org.jetbrains.annotations.NotNull() java.lang.String);// setExplicit(java.lang.String)
public static final void setImplicit(int);// setImplicit(int)
}
@@ -0,0 +1,19 @@
public final class FieldModifiersKt /* FieldModifiersKt*/ {
@kotlin.jvm.Transient()
@kotlin.jvm.Volatile()
@org.jetbrains.annotations.NotNull()
private static transient volatile java.lang.String explicit = "1" /* initializer type: java.lang.String */;
@kotlin.jvm.Transient()
@kotlin.jvm.Volatile()
private static transient volatile int implicit = 0 /* initializer type: int */;
@org.jetbrains.annotations.NotNull()
public static final java.lang.String getExplicit();// getExplicit()
public static final int getImplicit();// getImplicit()
public static final void setExplicit(@org.jetbrains.annotations.NotNull() java.lang.String);// setExplicit(java.lang.String)
public static final void setImplicit(int);// setImplicit(int)
}
@@ -0,0 +1,7 @@
@Volatile
@Transient
var implicit: Int = 0
@field:Volatile
@field:Transient
var explicit: String = "1"
@@ -0,0 +1,15 @@
public final class FieldModifiersKt /* FieldModifiersKt*/ {
@org.jetbrains.annotations.NotNull()
private static transient volatile java.lang.String explicit;
private static transient volatile int implicit;
@org.jetbrains.annotations.NotNull()
public static final java.lang.String getExplicit();// getExplicit()
public static final int getImplicit();// getImplicit()
public static final void setExplicit(@org.jetbrains.annotations.NotNull() java.lang.String);// setExplicit(java.lang.String)
public static final void setImplicit(int);// setImplicit(int)
}