Light analysis tests: do not render empty lines between classes and in the beginning
This commit is contained in:
-2
@@ -2,7 +2,6 @@ public interface B {
|
||||
public abstract method getBar(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public final method extension(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
@@ -12,7 +11,6 @@ public final class C {
|
||||
public final @org.jetbrains.annotations.NotNull method fooInClassNoReceiver(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class CaptureExtensionReceiverKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): B
|
||||
|
||||
compiler/testData/codegen/light-analysis/closures/captureOuterProperty/captureFunctionInProperty.txt
Vendored
-2
@@ -6,12 +6,10 @@ public final class A {
|
||||
public final @org.jetbrains.annotations.NotNull method getx(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class CaptureFunctionInPropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface T {
|
||||
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
|
||||
-2
@@ -5,12 +5,10 @@ public final class A {
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InFunctionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface T {
|
||||
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
|
||||
-2
@@ -5,12 +5,10 @@ public final class A {
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InPropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface T {
|
||||
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
|
||||
compiler/testData/codegen/light-analysis/closures/captureOuterProperty/inPropertyDeepObjectChain.txt
Vendored
-2
@@ -5,12 +5,10 @@ public final class A {
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InPropertyDeepObjectChainKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface T {
|
||||
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
|
||||
Vendored
-3
@@ -3,19 +3,16 @@ public final class A {
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): T
|
||||
}
|
||||
|
||||
|
||||
public class B {
|
||||
private final @org.jetbrains.annotations.NotNull field x: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InPropertyFromSuperClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface T {
|
||||
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
|
||||
-4
@@ -4,23 +4,19 @@ public abstract class A {
|
||||
public final method getX(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): T
|
||||
}
|
||||
|
||||
|
||||
public final class InPropertyFromSuperSuperClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface T {
|
||||
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
|
||||
-2
@@ -5,12 +5,10 @@ public final class B {
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt4176Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Z {
|
||||
private final field s: int
|
||||
public method <init>(p0: int): void
|
||||
|
||||
-4
@@ -4,22 +4,18 @@ public abstract class d/A {
|
||||
public abstract method setText(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public class d/HtmlTag {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class d/LI {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public class d/ListTag {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class d/PropertyAndFunctionNameClashKt {
|
||||
public final static method a(@org.jetbrains.annotations.NotNull p0: d.HtmlTag, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): void
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
|
||||
@@ -2,7 +2,6 @@ public final class ClosureInsideConstrucorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class KModel {
|
||||
private final @org.jetbrains.annotations.NotNull field sourcesInfo: java.lang.String
|
||||
public method <init>(): void
|
||||
|
||||
@@ -4,7 +4,6 @@ public final class EnclosingThisKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method getM(): kotlin.jvm.functions.Function1
|
||||
}
|
||||
|
||||
|
||||
public final class Point {
|
||||
private final field x: int
|
||||
private final field y: int
|
||||
|
||||
@@ -3,7 +3,6 @@ public final class ExtensionClosureKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Point {
|
||||
private final field x: int
|
||||
private final field y: int
|
||||
|
||||
@@ -6,7 +6,6 @@ public final class Example {
|
||||
public final method setResult(@org.jetbrains.annotations.Nullable p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class Example2 {
|
||||
private field obj: JClass
|
||||
private @org.jetbrains.annotations.Nullable field result: java.lang.String
|
||||
@@ -15,13 +14,11 @@ public final class Example2 {
|
||||
public final method setResult(@org.jetbrains.annotations.Nullable p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public class JClass {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt10044Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -2,13 +2,11 @@ public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class AFabric {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method createA(): A
|
||||
}
|
||||
|
||||
|
||||
public final class AImpl {
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
@@ -16,14 +14,12 @@ public final class AImpl {
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AWrapperFabric {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method createA(): A
|
||||
public final @org.jetbrains.annotations.NotNull method createMyA(): A
|
||||
}
|
||||
|
||||
|
||||
public final class Kt11634Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -2,13 +2,11 @@ public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class AFabric {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method createA(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
|
||||
}
|
||||
|
||||
|
||||
public final class AImpl {
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
@@ -16,14 +14,12 @@ public final class AImpl {
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AWrapperFabric {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method createA(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
|
||||
public final @org.jetbrains.annotations.NotNull method createMyA(): A
|
||||
}
|
||||
|
||||
|
||||
public final class Kt11634_2Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -2,13 +2,11 @@ public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class AFabric {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method createA(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
|
||||
}
|
||||
|
||||
|
||||
public final class AImpl {
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
@@ -16,14 +14,12 @@ public final class AImpl {
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AWrapperFabric {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method createA(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
|
||||
public final @org.jetbrains.annotations.NotNull method createMyA(): A
|
||||
}
|
||||
|
||||
|
||||
public final class Kt11634_3Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Base {
|
||||
private final @org.jetbrains.annotations.NotNull field a: A
|
||||
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
@@ -11,7 +10,6 @@ public class Base {
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Derived1 {
|
||||
private final @org.jetbrains.annotations.NotNull field a: A
|
||||
inner class Derived1/Derived2
|
||||
@@ -19,7 +17,6 @@ public class Derived1 {
|
||||
public @org.jetbrains.annotations.NotNull method getA(): A
|
||||
}
|
||||
|
||||
|
||||
public final class Derived1/Derived2 {
|
||||
synthetic final field this$0: Derived1
|
||||
private final @org.jetbrains.annotations.NotNull field x: A
|
||||
@@ -28,7 +25,6 @@ public final class Derived1/Derived2 {
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): A
|
||||
}
|
||||
|
||||
|
||||
public final class Kt11634_4Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ public final class Kt3152Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Test {
|
||||
private final field content: int
|
||||
inner class Test/A
|
||||
@@ -10,7 +9,6 @@ public final class Test {
|
||||
public final method getContent(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Test/A {
|
||||
synthetic final field this$0: Test
|
||||
private final @org.jetbrains.annotations.NotNull field v: java.lang.Object
|
||||
|
||||
@@ -3,13 +3,11 @@ public class Base {
|
||||
public final method doSomething(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Foo {
|
||||
inner class Foo/Bar
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Foo/Bar {
|
||||
synthetic final field this$0: Foo
|
||||
private final @org.jetbrains.annotations.NotNull field x: X
|
||||
@@ -18,12 +16,10 @@ public final class Foo/Bar {
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): X
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3523Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class X {
|
||||
private final @org.jetbrains.annotations.NotNull field action: kotlin.jvm.functions.Function0
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
|
||||
@@ -5,19 +5,16 @@ public final class A {
|
||||
public final method foo(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
inner class B/D
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class B/D {
|
||||
inner class B/D
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3738Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ public final class Foo {
|
||||
public final @org.jetbrains.annotations.NotNull method getF(): Foo.Inner
|
||||
}
|
||||
|
||||
|
||||
public final class Foo/Inner {
|
||||
synthetic final field this$0: Foo
|
||||
private final field x: java.lang.String
|
||||
@@ -14,7 +13,6 @@ public final class Foo/Inner {
|
||||
public method <init>(p0: Foo): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt4106Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@@ -4,12 +4,10 @@ public class A {
|
||||
public final method getS(): int
|
||||
}
|
||||
|
||||
|
||||
public class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt4137Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: int, p1: int): int
|
||||
|
||||
@@ -3,7 +3,6 @@ public final class A {
|
||||
public final @org.jetbrains.annotations.NotNull method f(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
|
||||
|
||||
public final class NoRefToOuterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
-1
@@ -5,7 +5,6 @@ public final class Outer {
|
||||
public final @org.jetbrains.annotations.NotNull method getOuterProp(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SubclosuresWithinInitializersKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method inlineRun(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.Object
|
||||
|
||||
Reference in New Issue
Block a user