File tree Expand file tree Collapse file tree 7 files changed +10
-11
lines changed
src/org/jetbrains/kotlin/kapt3/stubs Expand file tree Collapse file tree 7 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -306,8 +306,7 @@ class ClassFileToSourceStubConverter(
306
306
val descriptor = kaptContext.origins[method]?.descriptor as ? CallableDescriptor ? : return null
307
307
308
308
val isAnnotationHolderForProperty = descriptor is PropertyDescriptor && isSynthetic(method.access)
309
- && isPrivate(method.access) && isStatic(method.access)
310
- && method.name.endsWith(" \$ annotations" )
309
+ && isStatic(method.access) && method.name.endsWith(" \$ annotations" )
311
310
312
311
if (isSynthetic(method.access) && ! isAnnotationHolderForProperty) return null
313
312
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public final class TestAnno2 {
77
77
}
78
78
79
79
@Anno3(value = "property")
80
- private static void b$annotations() {
80
+ public static void b$annotations() {
81
81
}
82
82
83
83
@org.jetbrains.annotations.NotNull()
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public final class AnnotationsTest {
24
24
}
25
25
26
26
@Anno(value = "top-level-val")
27
- private static void topLevelVal$annotations(int p0) {
27
+ public static void topLevelVal$annotations(int p0) {
28
28
}
29
29
30
30
@org.jetbrains.annotations.NotNull()
@@ -68,14 +68,14 @@ public abstract class Test {
68
68
public abstract java.lang.String abstractMethod();
69
69
70
70
@Anno(value = "abstract-val")
71
- private static void abstractVal$annotations() {
71
+ public static void abstractVal$annotations() {
72
72
}
73
73
74
74
@org.jetbrains.annotations.NotNull()
75
75
public abstract java.lang.String getAbstractVal();
76
76
77
77
@Anno(value = "v-property")
78
- private static void v$annotations() {
78
+ public static void v$annotations() {
79
79
}
80
80
81
81
@org.jetbrains.annotations.NotNull()
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public final class JvmStaticTest {
25
25
26
26
public static final class Companion {
27
27
28
- private static void one$annotations() {
28
+ public static void one$annotations() {
29
29
}
30
30
31
31
public final int getOne() {
@@ -40,4 +40,4 @@ public final class JvmStaticTest {
40
40
super();
41
41
}
42
42
}
43
- }
43
+ }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public final class Test {
14
14
15
15
public static final class A {
16
16
17
- private static void test$annotations() {
17
+ public static void test$annotations() {
18
18
}
19
19
20
20
@org.jetbrains.annotations.NotNull()
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public final class Test {
20
20
21
21
@Anno2()
22
22
@Anno()
23
- private static void prop$annotations() {
23
+ public static void prop$annotations() {
24
24
}
25
25
26
26
@org.jetbrains.annotations.NotNull()
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public final class TopLevelKt {
46
46
}
47
47
48
48
@Anno(value = "extpr")
49
- private static void extensionProperty$annotations(java.lang.Object p0) {
49
+ public static void extensionProperty$annotations(java.lang.Object p0) {
50
50
}
51
51
52
52
@org.jetbrains.annotations.NotNull()
You can’t perform that action at this time.
0 commit comments