UFile (package = ) UClass (name = SimpleScript) UAnnotationMethod (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 = ) ULiteralExpression (value = 42) ULiteralExpression (value = null) UAnnotationMethod (name = SimpleScript) UParameter (name = p) UAnnotation (fqName = null) UBlockExpression UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) UIdentifier (Identifier (println)) USimpleNameReferenceExpression (identifier = println) ULiteralExpression (value = "Hello World!") UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) UIdentifier (Identifier (getBarOrNull)) USimpleNameReferenceExpression (identifier = getBarOrNull) ULiteralExpression (value = true) UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) UIdentifier (Identifier (println)) USimpleNameReferenceExpression (identifier = println) 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) UAnnotationMethod (name = getB) UAnnotationMethod (name = getAPlusB) UBinaryExpression (operator = +) USimpleNameReferenceExpression (identifier = a) USimpleNameReferenceExpression (identifier = b) UAnnotationMethod (name = getA) UAnnotationMethod (name = Bar) UParameter (name = a) UAnnotation (fqName = org.jetbrains.annotations.NotNull) UClass (name = Baz) UAnnotationMethod (name = doSomething) UBlockExpression UAnnotationMethod (name = Baz)