[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
+21
-31
@@ -18,8 +18,8 @@ public abstract @interface Anno {
|
||||
public abstract java.lang.Class<java.lang.Object> a();
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class ErrorInAnnotation : kotlin/Any {
|
||||
@@ -39,8 +39,8 @@ public final class ErrorInAnnotation {
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class ErrorInConstructorParameter : kotlin/Any {
|
||||
@@ -70,15 +70,14 @@ public final class ErrorInAnnotation {
|
||||
public final class ErrorInConstructorParameter {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String a = null;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final ABC b = null;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.util.List<ABC> c = null;
|
||||
|
||||
public ErrorInConstructorParameter(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String a, @org.jetbrains.annotations.NotNull()
|
||||
ABC b, @org.jetbrains.annotations.NotNull()
|
||||
java.util.List<? extends ABC> c) {
|
||||
public ErrorInConstructorParameter(@org.jetbrains.annotations.NotNull() java.lang.String a, @org.jetbrains.annotations.NotNull() ABC b, @org.jetbrains.annotations.NotNull() java.util.List<? extends ABC> c) {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -98,8 +97,8 @@ public final class ErrorInConstructorParameter {
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class ErrorInDeclarations : kotlin/Any {
|
||||
@@ -159,8 +158,11 @@ public final class ErrorInConstructorParameter {
|
||||
@kotlin.Metadata()
|
||||
public final class ErrorInDeclarations {
|
||||
public java.lang.String p1;
|
||||
|
||||
public ABC p2;
|
||||
|
||||
public BCD<java.lang.String> p3;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ErrorInDeclarations.Companion Companion = null;
|
||||
|
||||
@@ -173,8 +175,7 @@ public final class ErrorInDeclarations {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setP1(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String p0) {
|
||||
public final void setP1(@org.jetbrains.annotations.NotNull() java.lang.String p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@@ -182,8 +183,7 @@ public final class ErrorInDeclarations {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setP2(@org.jetbrains.annotations.NotNull()
|
||||
ABC p0) {
|
||||
public final void setP2(@org.jetbrains.annotations.NotNull() ABC p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@@ -191,21 +191,16 @@ public final class ErrorInDeclarations {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setP3(@org.jetbrains.annotations.NotNull()
|
||||
BCD<java.lang.String> p0) {
|
||||
public final void setP3(@org.jetbrains.annotations.NotNull() BCD<java.lang.String> p0) {
|
||||
}
|
||||
|
||||
public final void overloads(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String a) {
|
||||
public final void overloads(@org.jetbrains.annotations.NotNull() java.lang.String a) {
|
||||
}
|
||||
|
||||
public final void overloads(@org.jetbrains.annotations.NotNull()
|
||||
ABC a) {
|
||||
public final void overloads(@org.jetbrains.annotations.NotNull() ABC a) {
|
||||
}
|
||||
|
||||
public final void f1(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String a, @org.jetbrains.annotations.NotNull()
|
||||
ABC<java.util.List<java.lang.String>> b) {
|
||||
public final void f1(@org.jetbrains.annotations.NotNull() java.lang.String a, @org.jetbrains.annotations.NotNull() ABC<java.util.List<java.lang.String>> b) {
|
||||
}
|
||||
|
||||
public final <T extends java.lang.String>void f2() {
|
||||
@@ -220,19 +215,15 @@ public final class ErrorInDeclarations {
|
||||
}
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void f5(@org.jetbrains.annotations.NotNull()
|
||||
ABC a) {
|
||||
public final void f5(@org.jetbrains.annotations.NotNull() ABC a) {
|
||||
}
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void f5(@org.jetbrains.annotations.NotNull()
|
||||
ABC a, @org.jetbrains.annotations.NotNull()
|
||||
java.lang.String b) {
|
||||
public final void f5(@org.jetbrains.annotations.NotNull() ABC a, @org.jetbrains.annotations.NotNull() java.lang.String b) {
|
||||
}
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void f6(@org.jetbrains.annotations.NotNull()
|
||||
ABC a) {
|
||||
public static final void f6(@org.jetbrains.annotations.NotNull() ABC a) {
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -255,14 +246,13 @@ public final class ErrorInDeclarations {
|
||||
}
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void f6(@org.jetbrains.annotations.NotNull()
|
||||
ABC a) {
|
||||
public final void f6(@org.jetbrains.annotations.NotNull() ABC a) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class ErrorInSupertype : error/NonExistentClass {
|
||||
@@ -281,8 +271,8 @@ public final class ErrorInSupertype implements ABC {
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
////////////////////
|
||||
|
||||
/**
|
||||
* public final class ErrorInSupertype2 : error/NonExistentClass {
|
||||
|
||||
Reference in New Issue
Block a user