Uast: KotlinUMethod and KotlinUAnnotationMethod are separated (KT-30489)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
A -> UClass (name = A)
|
||||
str -> UParameter (name = str)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
constructor -> UAnnotationMethod (name = A)
|
||||
constructor -> UMethod (name = A)
|
||||
i -> UParameter (name = i)
|
||||
Int -> USimpleNameReferenceExpression (identifier = Int)
|
||||
this -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
||||
@@ -11,7 +11,7 @@ AWithInit -> UClass (name = AWithInit)
|
||||
str -> UParameter (name = str)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
println -> UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
constructor -> UAnnotationMethod (name = AWithInit)
|
||||
constructor -> UMethod (name = AWithInit)
|
||||
i -> UParameter (name = i)
|
||||
Int -> USimpleNameReferenceExpression (identifier = Int)
|
||||
this -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
||||
@@ -22,7 +22,7 @@ str -> UParameter (name = str)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
println -> UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
|
||||
println -> UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
|
||||
constructor -> UAnnotationMethod (name = AWith2Init)
|
||||
constructor -> UMethod (name = AWith2Init)
|
||||
i -> UParameter (name = i)
|
||||
Int -> USimpleNameReferenceExpression (identifier = Int)
|
||||
this -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
||||
@@ -34,14 +34,14 @@ AOnlyInit -> UClass (name = AOnlyInit)
|
||||
AWithSecondary -> UClass (name = AWithSecondary)
|
||||
a -> UField (name = a)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
constructor -> UAnnotationMethod (name = AWithSecondary)
|
||||
constructor -> UMethod (name = AWithSecondary)
|
||||
i -> UParameter (name = i)
|
||||
Int -> USimpleNameReferenceExpression (identifier = Int)
|
||||
a -> USimpleNameReferenceExpression (identifier = a)
|
||||
= -> USimpleNameReferenceExpression (identifier = =)
|
||||
i -> USimpleNameReferenceExpression (identifier = i)
|
||||
toString -> UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
constructor -> UAnnotationMethod (name = AWithSecondary)
|
||||
constructor -> UMethod (name = AWithSecondary)
|
||||
s -> UParameter (name = s)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
a -> USimpleNameReferenceExpression (identifier = a)
|
||||
@@ -51,14 +51,14 @@ AWithSecondaryInit -> UClass (name = AWithSecondaryInit)
|
||||
a -> UField (name = a)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
println -> UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
constructor -> UAnnotationMethod (name = AWithSecondaryInit)
|
||||
constructor -> UMethod (name = AWithSecondaryInit)
|
||||
i -> UParameter (name = i)
|
||||
Int -> USimpleNameReferenceExpression (identifier = Int)
|
||||
a -> USimpleNameReferenceExpression (identifier = a)
|
||||
= -> USimpleNameReferenceExpression (identifier = =)
|
||||
i -> USimpleNameReferenceExpression (identifier = i)
|
||||
toString -> UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
|
||||
constructor -> UAnnotationMethod (name = AWithSecondaryInit)
|
||||
constructor -> UMethod (name = AWithSecondaryInit)
|
||||
s -> UParameter (name = s)
|
||||
String -> USimpleNameReferenceExpression (identifier = String)
|
||||
a -> USimpleNameReferenceExpression (identifier = a)
|
||||
|
||||
Reference in New Issue
Block a user