| UFile (package = ) | |
| UClass (name = SimpleScript) | |
| UMethod (name = getBarOrNull) | |
| UParameter (name = flag) | |
| UAnnotation (fqName = org.jetbrains.annotations.NotNull) | |
| UBlockExpression | |
| UReturnExpression | |
| UIfExpression | |
| USimpleNameReferenceExpression (identifier = flag) | |
| UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1)) | |
| UIdentifier (Identifier (Bar)) | |
| USimpleNameReferenceExpression (identifier = <init>, resolvesTo = Bar) | |
| ULiteralExpression (value = 42) | |
| ULiteralExpression (value = null) | |
| UMethod (name = main) | |
| UParameter (name = strings) | |
| UAnnotation (fqName = null) | |
| UMethod (name = SimpleScript) | |
| UBlockExpression | |
| UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) | |
| UIdentifier (Identifier (println)) | |
| USimpleNameReferenceExpression (identifier = println, resolvesTo = null) | |
| ULiteralExpression (value = "Hello World!") | |
| UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) | |
| UIdentifier (Identifier (getBarOrNull)) | |
| USimpleNameReferenceExpression (identifier = getBarOrNull, resolvesTo = null) | |
| ULiteralExpression (value = true) | |
| UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) | |
| UIdentifier (Identifier (println)) | |
| USimpleNameReferenceExpression (identifier = println, resolvesTo = null) | |
| ULiteralExpression (value = "Goodbye World!") | |
| UClass (name = Bar) | |
| UField (name = b) | |
| UAnnotation (fqName = org.jetbrains.annotations.NotNull) | |
| ULiteralExpression (value = 0) | |
| UField (name = a) | |
| UAnnotation (fqName = org.jetbrains.annotations.NotNull) | |
| UMethod (name = getB) | |
| UMethod (name = getAPlusB) | |
| UBlockExpression | |
| UReturnExpression | |
| UBinaryExpression (operator = +) | |
| USimpleNameReferenceExpression (identifier = a) | |
| USimpleNameReferenceExpression (identifier = b) | |
| UMethod (name = getA) | |
| UMethod (name = Bar) | |
| UParameter (name = a) | |
| UAnnotation (fqName = org.jetbrains.annotations.NotNull) | |
| UClass (name = Baz) | |
| UMethod (name = doSomething) | |
| UBlockExpression | |
| UMethod (name = Baz) |