Uast: AbstractKotlinUVariable annotations now are retrieved from Kotlin Psi, not from compiled (KT-21025)
and `KotlinNullabilityUAnnotation` now is created for every `AbstractKotlinUVariable`
This commit is contained in:
committed by
Nikolay Krasko
parent
f0723a5c07
commit
260c549cd7
+3
-3
@@ -1,12 +1,12 @@
|
||||
public final class Foo {
|
||||
public fun Foo() = UastEmptyExpression
|
||||
public static final class Bar {
|
||||
@null private final var a: int
|
||||
@null private final var b: int
|
||||
@org.jetbrains.annotations.NotNull private final var a: int
|
||||
@org.jetbrains.annotations.NotNull private final var b: int
|
||||
public final fun getAPlusB() : int = a + b
|
||||
public final fun getA() : int = UastEmptyExpression
|
||||
public final fun getB() : int = UastEmptyExpression
|
||||
public fun Bar(@null a: int, @null b: int) = UastEmptyExpression
|
||||
public fun Bar(@org.jetbrains.annotations.NotNull a: int, @org.jetbrains.annotations.NotNull b: int) = UastEmptyExpression
|
||||
public static final class Baz {
|
||||
public final fun doNothing() : void = Unit
|
||||
public fun Baz() = UastEmptyExpression
|
||||
|
||||
Reference in New Issue
Block a user