Files
kotlin-fork/plugins/uast-kotlin/testData/ConstructorDelegate.render-ide.txt
T
Nicolay Mitropolsky 54285d328f Uast: KotlinIDERenderLogTest for running UAST tests with ULC
In case of result difference the `-ide`-suffixed testdata is used.
Actually the difference in results is more likely to be a bug
but currently we are fixating at least some behaviour to protect from
 unexpected regressions in Ultra Light Classes.

`object Local` were removed because there is no local objects in actual
 Kotlin syntax
2020-01-14 19:48:40 +03:00

27 lines
1011 B
Plaintext
Vendored

public final class ConstructorDelegateKt {
public static final fun createBase(@org.jetbrains.annotations.NotNull i: int) : Base {
return <init>(i)
}
}
public abstract interface Base {
public abstract fun print() : void = UastEmptyExpression
}
public final class BaseImpl : Base {
@org.jetbrains.annotations.NotNull private final var x: int
public fun print() : void {
print(x)
}
public final fun getX() : int = UastEmptyExpression
public fun BaseImpl(@org.jetbrains.annotations.NotNull x: int) = UastEmptyExpression
}
public final class Derived : Base, java.lang.CharSequence {
public fun Derived(@org.jetbrains.annotations.NotNull b: Base) = UastEmptyExpression
public fun print() : void = UastEmptyExpression
public fun getLength() : int = UastEmptyExpression
public fun get(@null index: int) : char = UastEmptyExpression
public fun subSequence(@null startIndex: int, @null endIndex: int) : java.lang.CharSequence = UastEmptyExpression
}