[KAPT] Improve stub formatting; check raw stubs in tests
Merge-request: KT-MR-14244 Merged-by: Pavel Mikhailovskii <Pavel.Mikhailovskii@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
c5e6197690
commit
9688c3e761
@@ -34,9 +34,7 @@ public final class A {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final A f1(@org.jetbrains.annotations.NotNull()
|
||||
A a, @org.jetbrains.annotations.NotNull()
|
||||
A.B b) {
|
||||
public final A f1(@org.jetbrains.annotations.NotNull() A a, @org.jetbrains.annotations.NotNull() A.B b) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -60,8 +58,9 @@ public final class A {
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public abstract A.B getY();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
/**
|
||||
* public final object A.C : kotlin/Any {
|
||||
*
|
||||
@@ -81,11 +80,12 @@ public final class A {
|
||||
private C() {
|
||||
super();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class A2 : kotlin/Any {
|
||||
@@ -183,7 +183,6 @@ public final class A2 {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* public final class A2.B.C.D.E : kotlin/Any {
|
||||
*
|
||||
@@ -205,8 +204,8 @@ public final class A2 {
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class Foo : kotlin/Any {
|
||||
@@ -227,10 +226,11 @@ public final class Foo {
|
||||
public Foo() {
|
||||
super();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class Test : kotlin/Any {
|
||||
@@ -293,7 +293,6 @@ public final class Test {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* public final inner class Test.Inner : kotlin/Any {
|
||||
*
|
||||
@@ -310,7 +309,6 @@ public final class Test {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* public final object Test.NestedObject : kotlin/Any {
|
||||
*
|
||||
@@ -329,7 +327,6 @@ public final class Test {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* public abstract interface Test.NestedInterface : kotlin/Any {
|
||||
*
|
||||
@@ -339,7 +336,6 @@ public final class Test {
|
||||
@kotlin.Metadata()
|
||||
public static abstract interface NestedInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
* public final enum class Test.NestedEnum : kotlin/Enum<Test.NestedEnum> {
|
||||
*
|
||||
@@ -357,8 +353,9 @@ public final class Test {
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public static enum NestedEnum {
|
||||
/*public static final*/ BLACK /* = new NestedEnum() */,
|
||||
/*public static final*/ WHITE /* = new NestedEnum() */;
|
||||
BLACK,
|
||||
WHITE;
|
||||
|
||||
|
||||
NestedEnum() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user