Uast: keeping annotations from sources in non-light-methods backed UMethods (KT-27806)
This commit is contained in:
@@ -4,4 +4,11 @@ UFile (package = test.pkg)
|
||||
UBlockExpression
|
||||
UMethod (name = Test)
|
||||
UMethod (name = test2)
|
||||
UAnnotation (fqName = kotlin.Deprecated)
|
||||
UNamedExpression (name = level)
|
||||
UQualifiedReferenceExpression
|
||||
USimpleNameReferenceExpression (identifier = DeprecationLevel)
|
||||
USimpleNameReferenceExpression (identifier = HIDDEN)
|
||||
UNamedExpression (name = message)
|
||||
ULiteralExpression (value = "nothing")
|
||||
UBlockExpression
|
||||
|
||||
@@ -4,6 +4,7 @@ public final class Test {
|
||||
public final fun test1() : void {
|
||||
}
|
||||
public fun Test() = UastEmptyExpression
|
||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "nothing")
|
||||
fun test2() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user