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
+9 -9
View File
@@ -1,6 +1,6 @@
UFile (package = )
UClass (name = SimpleScript)
UAnnotationMethod (name = getBarOrNull)
UMethod (name = getBarOrNull)
UParameter (name = flag)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
UBlockExpression
@@ -12,10 +12,10 @@ UFile (package = )
USimpleNameReferenceExpression (identifier = <init>, resolvesTo = Bar)
ULiteralExpression (value = 42)
ULiteralExpression (value = null)
UAnnotationMethod (name = main)
UMethod (name = main)
UParameter (name = p)
UAnnotation (fqName = null)
UAnnotationMethod (name = SimpleScript)
UMethod (name = SimpleScript)
UParameter (name = p)
UAnnotation (fqName = null)
UBlockExpression
@@ -37,18 +37,18 @@ UFile (package = )
ULiteralExpression (value = 0)
UField (name = a)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
UAnnotationMethod (name = getB)
UAnnotationMethod (name = getAPlusB)
UMethod (name = getB)
UMethod (name = getAPlusB)
UBlockExpression
UReturnExpression
UBinaryExpression (operator = +)
USimpleNameReferenceExpression (identifier = a)
USimpleNameReferenceExpression (identifier = b)
UAnnotationMethod (name = getA)
UAnnotationMethod (name = Bar)
UMethod (name = getA)
UMethod (name = Bar)
UParameter (name = a)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
UClass (name = Baz)
UAnnotationMethod (name = doSomething)
UMethod (name = doSomething)
UBlockExpression
UAnnotationMethod (name = Baz)
UMethod (name = Baz)