Uast: KotlinUMethod and KotlinUAnnotationMethod are separated (KT-30489)
This commit is contained in:
+6
-6
@@ -2,22 +2,22 @@
|
||||
[1]:[UClass (name = Foo)]
|
||||
[1]:[UIdentifier (Identifier (Foo))]
|
||||
[1]:[UExpressionList (class_body)]
|
||||
[2]:[UClass (name = Bar), UAnnotationMethod (name = Bar)]
|
||||
[2]:[UClass (name = Bar), UMethod (name = Bar)]
|
||||
[1]:[UIdentifier (Identifier (Bar))]
|
||||
[1]:[UAnnotationMethod (name = Bar)]
|
||||
[1]:[UMethod (name = Bar)]
|
||||
[1]:[UDeclarationsExpression]
|
||||
[3]:[UParameter (name = a), UField (name = a), UAnnotationMethod (name = getA)]
|
||||
[3]:[UParameter (name = a), UField (name = a), UMethod (name = getA)]
|
||||
[1]:[UIdentifier (Identifier (a))]
|
||||
[1]:[UTypeReferenceExpression (name = int)]
|
||||
[1]:[USimpleNameReferenceExpression (identifier = Int)]
|
||||
[1]:[UIdentifier (Identifier (Int))]
|
||||
[3]:[UParameter (name = b), UField (name = b), UAnnotationMethod (name = getB)]
|
||||
[3]:[UParameter (name = b), UField (name = b), UMethod (name = getB)]
|
||||
[1]:[UIdentifier (Identifier (b))]
|
||||
[1]:[UTypeReferenceExpression (name = int)]
|
||||
[1]:[USimpleNameReferenceExpression (identifier = Int)]
|
||||
[1]:[UIdentifier (Identifier (Int))]
|
||||
[1]:[UExpressionList (class_body)]
|
||||
[1]:[UAnnotationMethod (name = getAPlusB)]
|
||||
[1]:[UMethod (name = getAPlusB)]
|
||||
[1]:[UIdentifier (Identifier (getAPlusB))]
|
||||
[1]:[UDeclarationsExpression]
|
||||
[1]:[UBinaryExpression (operator = +)]
|
||||
@@ -30,7 +30,7 @@
|
||||
[1]:[UClass (name = Baz)]
|
||||
[1]:[UIdentifier (Identifier (Baz))]
|
||||
[1]:[UExpressionList (class_body)]
|
||||
[1]:[UAnnotationMethod (name = doNothing)]
|
||||
[1]:[UMethod (name = doNothing)]
|
||||
[1]:[UIdentifier (Identifier (doNothing))]
|
||||
[1]:[UDeclarationsExpression]
|
||||
[1]:[USimpleNameReferenceExpression (identifier = Unit)]
|
||||
|
||||
Reference in New Issue
Block a user