Uast: KotlinUNestedAnnotation for processing nested annotations (IDEA-185890)

This commit is contained in:
Nicolay Mitropolsky
2018-02-01 13:13:05 +03:00
committed by xiexed
parent 1f81c0cdfe
commit 48ea52def1
8 changed files with 165 additions and 21 deletions
+30
View File
@@ -0,0 +1,30 @@
UFile (package = )
UClass (name = Annotation)
UClass (name = A)
UAnnotation (fqName = Annotation)
UAnnotationMethod (name = A)
UClass (name = AnnotationInner)
UAnnotationMethod (name = value)
UClass (name = B1)
UAnnotation (fqName = AnnotationArray)
UNamedExpression (name = value)
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 0))
UIdentifier (Identifier (Annotation))
USimpleNameReferenceExpression (identifier = <init>)
UAnnotationMethod (name = B1)
UClass (name = B2)
UAnnotation (fqName = AnnotationArray)
UNamedExpression (name = value)
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 0))
UIdentifier (Identifier (Annotation))
USimpleNameReferenceExpression (identifier = <init>)
UAnnotationMethod (name = B2)
UClass (name = AnnotationArray)
UAnnotationMethod (name = value)
UClass (name = C)
UAnnotation (fqName = AnnotationArray)
UNamedExpression (name = value)
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 0))
UIdentifier (Identifier (Annotation))
USimpleNameReferenceExpression (identifier = <init>)
UAnnotationMethod (name = C)