Check class source in bytecode listing tests
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@kotlin.Metadata
|
||||
public final class Example {
|
||||
// source: 'JvmSynthetic.kt'
|
||||
private field prop2: int
|
||||
private synthetic final field prop: java.lang.String
|
||||
private field useSite2: int
|
||||
@@ -12,4 +13,4 @@ public final class Example {
|
||||
public synthetic final method job(): void
|
||||
public synthetic final method setProp2(p0: int): void
|
||||
public synthetic final method setUseSite2(p0: int): void
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@kotlin.Metadata
|
||||
public final class A {
|
||||
// source: 'defaultTargets.kt'
|
||||
private final @AnnField @AnnParameterField @AnnTypeField field a: int
|
||||
private final @AnnField @AnnTypeField field x: int
|
||||
public method <init>(@AnnParameterProperty @AnnParameterField p0: int): void
|
||||
@@ -13,46 +14,61 @@ public final class A {
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnField
|
||||
public annotation class AnnField {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnFieldProperty
|
||||
public annotation class AnnFieldProperty {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnParameterField
|
||||
public annotation class AnnParameterField {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnParameterProperty
|
||||
public annotation class AnnParameterProperty {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnProperty
|
||||
public annotation class AnnProperty {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnTypeField
|
||||
public annotation class AnnTypeField {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class Anno
|
||||
public annotation class Anno {
|
||||
// source: 'defaultTargets.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class DefaultTargetsKt {
|
||||
// source: 'defaultTargets.kt'
|
||||
private final static @Anno field p2: int
|
||||
static method <clinit>(): void
|
||||
public final static method getP2(): int
|
||||
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
@kotlin.Metadata
|
||||
public final class Foo {
|
||||
// source: 'deprecatedJvmOverloads.kt'
|
||||
public method <init>(): void
|
||||
public synthetic deprecated static method bar$default(p0: Foo, p1: java.lang.String, p2: int, p3: java.lang.Object): void
|
||||
public deprecated final @kotlin.Deprecated @kotlin.jvm.JvmOverloads method bar(): void
|
||||
public deprecated final @kotlin.Deprecated @kotlin.jvm.JvmOverloads method bar(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,13 @@
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class Anno
|
||||
public annotation class Anno {
|
||||
// source: 'kt27895.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class C {
|
||||
// source: 'kt27895.kt'
|
||||
private final @Anno @org.jetbrains.annotations.NotNull field json: java.lang.String
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
|
||||
@@ -1,23 +1,29 @@
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Ann
|
||||
public annotation class Ann {
|
||||
// source: 'kt9320.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnExpr
|
||||
public annotation class AnnExpr {
|
||||
// source: 'kt9320.kt'
|
||||
}
|
||||
|
||||
@Ann
|
||||
@kotlin.Metadata
|
||||
public final class Kt9320Kt$foo$v$1 {
|
||||
// source: 'kt9320.kt'
|
||||
inner (anonymous) class Kt9320Kt$foo$v$1
|
||||
method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class Kt9320Kt$foo$w$1 {
|
||||
// source: 'kt9320.kt'
|
||||
public final static field INSTANCE: Kt9320Kt$foo$w$1
|
||||
inner (anonymous) class Kt9320Kt$foo$w$1
|
||||
static method <clinit>(): void
|
||||
@@ -28,6 +34,7 @@ final class Kt9320Kt$foo$w$1 {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Kt9320Kt {
|
||||
// source: 'kt9320.kt'
|
||||
inner (anonymous) class Kt9320Kt$foo$v$1
|
||||
inner (anonymous) class Kt9320Kt$foo$w$1
|
||||
public final static method foo(): void
|
||||
@@ -36,5 +43,6 @@ public final class Kt9320Kt {
|
||||
@Ann
|
||||
@kotlin.Metadata
|
||||
public class My {
|
||||
// source: 'kt9320.kt'
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@@ -2,23 +2,30 @@
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class ClsAnn
|
||||
public annotation class ClsAnn {
|
||||
// source: 'literals.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class ExprAnn
|
||||
public annotation class ExprAnn {
|
||||
// source: 'literals.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
@kotlin.Metadata
|
||||
public annotation class FunAnn
|
||||
public annotation class FunAnn {
|
||||
// source: 'literals.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class LiteralsKt$foo$1 {
|
||||
// source: 'literals.kt'
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$1
|
||||
method <init>(p0: int): void
|
||||
@@ -28,6 +35,7 @@ final class LiteralsKt$foo$1 {
|
||||
|
||||
@kotlin.Metadata
|
||||
final class LiteralsKt$foo$2 {
|
||||
// source: 'literals.kt'
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$2
|
||||
method <init>(p0: int): void
|
||||
@@ -38,12 +46,14 @@ final class LiteralsKt$foo$2 {
|
||||
@ClsAnn
|
||||
@kotlin.Metadata
|
||||
public final class LiteralsKt$foo$3 {
|
||||
// source: 'literals.kt'
|
||||
inner (anonymous) class LiteralsKt$foo$3
|
||||
method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class LiteralsKt$foo$x$1 {
|
||||
// source: 'literals.kt'
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$x$1
|
||||
method <init>(p0: int): void
|
||||
@@ -53,6 +63,7 @@ final class LiteralsKt$foo$x$1 {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class LiteralsKt {
|
||||
// source: 'literals.kt'
|
||||
inner (anonymous) class LiteralsKt$foo$1
|
||||
inner (anonymous) class LiteralsKt$foo$2
|
||||
inner (anonymous) class LiteralsKt$foo$3
|
||||
@@ -63,5 +74,6 @@ public final class LiteralsKt {
|
||||
|
||||
@kotlin.Metadata
|
||||
public class My {
|
||||
// source: 'literals.kt'
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
+3
@@ -1,5 +1,6 @@
|
||||
@kotlin.Metadata
|
||||
public final class LocalClassWithCapturedParamsKt$localCaptured$A {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
synthetic final field $z: int
|
||||
private final field x: int
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
@@ -11,6 +12,7 @@ public final class LocalClassWithCapturedParamsKt$localCaptured$A {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class LocalClassWithCapturedParamsKt {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
inner (local) class LocalClassWithCapturedParamsKt$localCaptured$A A
|
||||
public final static @org.jetbrains.annotations.NotNull method localCaptured(): java.lang.Object
|
||||
}
|
||||
@@ -18,5 +20,6 @@ public final class LocalClassWithCapturedParamsKt {
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Simple {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
public abstract method value(): java.lang.String
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -1,5 +1,6 @@
|
||||
@kotlin.Metadata
|
||||
public final class Foo$Companion {
|
||||
// source: 'noAdditionalAnnotationsInAccessors.kt'
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final method foo(): void
|
||||
@@ -8,6 +9,7 @@ public final class Foo$Companion {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo {
|
||||
// source: 'noAdditionalAnnotationsInAccessors.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: Foo$Companion
|
||||
static method <clinit>(): void
|
||||
private method <init>(p0: java.lang.String): void
|
||||
|
||||
Vendored
+5
-1
@@ -1,9 +1,12 @@
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Ann
|
||||
public annotation class Ann {
|
||||
// source: 'noAnnotationsInSyntheticAccessors.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo$Companion {
|
||||
// source: 'noAnnotationsInSyntheticAccessors.kt'
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final method foo(): void
|
||||
@@ -12,6 +15,7 @@ public final class Foo$Companion {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo {
|
||||
// source: 'noAnnotationsInSyntheticAccessors.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: Foo$Companion
|
||||
static method <clinit>(): void
|
||||
private @Ann method <init>(@Ann p0: java.lang.String): void
|
||||
|
||||
Vendored
+5
-1
@@ -1,9 +1,12 @@
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Ann
|
||||
public annotation class Ann {
|
||||
// source: 'noAnnotationsInSyntheticAccessors.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo$Companion {
|
||||
// source: 'noAnnotationsInSyntheticAccessors.kt'
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final method foo(): void
|
||||
@@ -12,6 +15,7 @@ public final class Foo$Companion {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo {
|
||||
// source: 'noAnnotationsInSyntheticAccessors.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: Foo$Companion
|
||||
static method <clinit>(): void
|
||||
private @Ann method <init>(@Ann p0: java.lang.String): void
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@kotlin.Metadata
|
||||
public final class A {
|
||||
// source: 'onProperties.kt'
|
||||
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private @AnnField field p: int
|
||||
private final @AnnDelegate @org.jetbrains.annotations.NotNull field s$delegate: CustomDelegate
|
||||
@@ -20,34 +21,49 @@ public final class A {
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnDelegate
|
||||
public annotation class AnnDelegate {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnField
|
||||
public annotation class AnnField {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnGetter
|
||||
public annotation class AnnGetter {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnParam
|
||||
public annotation class AnnParam {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnProp
|
||||
public annotation class AnnProp {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnProp2
|
||||
public annotation class AnnProp2 {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnSetter
|
||||
public annotation class AnnSetter {
|
||||
// source: 'onProperties.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class CustomDelegate {
|
||||
// source: 'onProperties.kt'
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@kotlin.Metadata
|
||||
public final class A {
|
||||
// source: 'onReceiver.kt'
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method f(@Ann @org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP(@Ann @org.jetbrains.annotations.Nullable p0: java.lang.String): java.lang.String
|
||||
@@ -7,10 +8,13 @@ public final class A {
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Ann
|
||||
public annotation class Ann {
|
||||
// source: 'onReceiver.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class OnReceiverKt {
|
||||
// source: 'onReceiver.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull method getTopLevelP(@Ann @org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method topLevelF(@Ann @org.jetbrains.annotations.Nullable p0: java.lang.String): java.lang.String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user