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
+3 -3
View File
@@ -3,11 +3,11 @@ UFile (package = ) [public final class Simple {...]
UField (name = property) [@org.jetbrains.annotations.NotNull private final var property: java.lang.String = "Mary"]
UAnnotation (fqName = org.jetbrains.annotations.NotNull) [@org.jetbrains.annotations.NotNull]
ULiteralExpression (value = "Mary") ["Mary"] = "Mary"
UAnnotationMethod (name = method) [public final fun method() : void {...}]
UMethod (name = method) [public final fun method() : void {...}]
UBlockExpression [{...}] = external println("Hello, world!")("Hello, world!")
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) [println("Hello, world!")] = external println("Hello, world!")("Hello, world!")
UIdentifier (Identifier (println)) [UIdentifier (Identifier (println))]
USimpleNameReferenceExpression (identifier = println, resolvesTo = null) [println] = external println("Hello, world!")("Hello, world!")
ULiteralExpression (value = "Hello, world!") ["Hello, world!"] = "Hello, world!"
UAnnotationMethod (name = getProperty) [public final fun getProperty() : java.lang.String = UastEmptyExpression]
UAnnotationMethod (name = Simple) [public fun Simple() = UastEmptyExpression]
UMethod (name = getProperty) [public final fun getProperty() : java.lang.String = UastEmptyExpression]
UMethod (name = Simple) [public fun Simple() = UastEmptyExpression]