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
@@ -9,11 +9,11 @@
[1]:[UIdentifier (Identifier (MyAnnotation4))]
[1]:[UClass (name = MyAnnotation5)]
[1]:[UIdentifier (Identifier (MyAnnotation5))]
[2]:[UClass (name = Test1), UAnnotationMethod (name = Test1)]
[2]:[UClass (name = Test1), UMethod (name = Test1)]
[1]:[UIdentifier (Identifier (Test1))]
[1]:[UAnnotationMethod (name = Test1)]
[1]:[UMethod (name = Test1)]
[1]:[UDeclarationsExpression]
[4]:[UParameter (name = bar), UField (name = bar), UAnnotationMethod (name = getBar), UAnnotationMethod (name = setBar)]
[4]:[UParameter (name = bar), UField (name = bar), UMethod (name = getBar), UMethod (name = setBar)]
[1]:[UAnnotation (fqName = MyAnnotation)]
[1]:[[!] UnknownKotlinExpression (CONSTRUCTOR_CALLEE)]
[1]:[UTypeReferenceExpression (name = MyAnnotation)]
@@ -23,11 +23,11 @@
[1]:[UTypeReferenceExpression (name = int)]
[1]:[USimpleNameReferenceExpression (identifier = Int)]
[1]:[UIdentifier (Identifier (Int))]
[2]:[UClass (name = Test2), UAnnotationMethod (name = Test2)]
[2]:[UClass (name = Test2), UMethod (name = Test2)]
[1]:[UIdentifier (Identifier (Test2))]
[1]:[UAnnotationMethod (name = Test2)]
[1]:[UMethod (name = Test2)]
[1]:[UDeclarationsExpression]
[4]:[UParameter (name = bar), UField (name = bar), UAnnotationMethod (name = getBar), UAnnotationMethod (name = setBar)]
[4]:[UParameter (name = bar), UField (name = bar), UMethod (name = getBar), UMethod (name = setBar)]
[1]:[UAnnotation (fqName = MyAnnotation)]
[1]:[[!] UnknownKotlinExpression (CONSTRUCTOR_CALLEE)]
[1]:[UTypeReferenceExpression (name = MyAnnotation)]