Uast: KotlinUMethod and KotlinUAnnotationMethod are separated (KT-30489)

This commit is contained in:
Nicolay Mitropolsky
2019-10-21 15:17:02 +03:00
parent 9fec2c78d1
commit 9c18df61ca
67 changed files with 396 additions and 369 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
UFile (package = )
UClass (name = AnnotationParametersKt)
UAnnotationMethod (name = foo)
UMethod (name = foo)
UAnnotation (fqName = RequiresPermission)
UNamedExpression (name = anyOf)
UCallExpression (kind = UastCallKind(name='array_initializer'), argCount = 3))
@@ -21,7 +21,7 @@ UFile (package = )
UBlockExpression
UReturnExpression
ULiteralExpression (value = 5)
UAnnotationMethod (name = bar)
UMethod (name = bar)
UAnnotation (fqName = IntRange)
UNamedExpression (name = from)
ULiteralExpression (value = 0)
@@ -36,7 +36,7 @@ UFile (package = )
UBlockExpression
UReturnExpression
USimpleNameReferenceExpression (identifier = Unit)
UAnnotationMethod (name = fooWithArrLiteral)
UMethod (name = fooWithArrLiteral)
UAnnotation (fqName = RequiresPermission)
UNamedExpression (name = anyOf)
UCallExpression (kind = UastCallKind(name='array_initializer'), argCount = 3))
@@ -47,7 +47,7 @@ UFile (package = )
UBlockExpression
UReturnExpression
ULiteralExpression (value = 5)
UAnnotationMethod (name = fooWithStrArrLiteral)
UMethod (name = fooWithStrArrLiteral)
UAnnotation (fqName = RequiresStrPermission)
UNamedExpression (name = strs)
UCallExpression (kind = UastCallKind(name='array_initializer'), argCount = 3))