KT element: KtClass
KT element text:
public final class Foo public constructor() {
    public final fun test1(x: kotlin.String?): kotlin.Any? { contract { /* compiled contract */ }; /* compiled code */ }

    public final fun test2(x: kotlin.String?): kotlin.Any? { contract { /* compiled contract */ }; /* compiled code */ }

    public final fun test3(x: kotlin.Any?): kotlin.Any? { contract { /* compiled contract */ }; /* compiled code */ }

    public final fun test4(x: kotlin.Any?): kotlin.Any? { contract { /* compiled contract */ }; /* compiled code */ }
}
FIR element: FirRegularClassImpl
FIR source kind: KtRealSourceElementKind

FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] class Foo : R|kotlin/Any| {
    public final [ResolvedTo(BODY_RESOLVE)] fun test1([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/String?|): R|kotlin/Any?|
        [R|Contract description]
         <
            Returns(NOT_NULL) -> x != null
        >


    public final [ResolvedTo(BODY_RESOLVE)] fun test2([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/String?|): R|kotlin/Any?|
        [R|Contract description]
         <
            Returns(TRUE) -> x != null
        >


    public final [ResolvedTo(BODY_RESOLVE)] fun test3([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Any?|): R|kotlin/Any?|
        [R|Contract description]
         <
            Returns(NOT_NULL) -> x != null
        >


    public final [ResolvedTo(BODY_RESOLVE)] fun test4([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Any?|): R|kotlin/Any?|
        [R|Contract description]
         <
            Returns(NOT_NULL) -> x != null
        >


    public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Foo] constructor(): R|Foo|

}
