Uast: forcing kotlin.uast.force.uinjectionhost=true always

This commit is contained in:
Nicolay Mitropolsky
2020-02-12 16:00:35 +03:00
parent ee48580e06
commit e4b7c39110
42 changed files with 254 additions and 132 deletions
+4 -2
View File
@@ -22,7 +22,8 @@ UFile (package = )
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
UIdentifier (Identifier (println))
USimpleNameReferenceExpression (identifier = println, resolvesTo = null)
ULiteralExpression (value = "Hello World!")
UPolyadicExpression (operator = +)
ULiteralExpression (value = "Hello World!")
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
UIdentifier (Identifier (getBarOrNull))
USimpleNameReferenceExpression (identifier = getBarOrNull, resolvesTo = null)
@@ -30,7 +31,8 @@ UFile (package = )
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
UIdentifier (Identifier (println))
USimpleNameReferenceExpression (identifier = println, resolvesTo = null)
ULiteralExpression (value = "Goodbye World!")
UPolyadicExpression (operator = +)
ULiteralExpression (value = "Goodbye World!")
UClass (name = Bar)
UField (name = b)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)