| @SampleAnnotation (foo = [1, 2]) |
| class GroovyClass {} |
| ----- |
| Groovy script |
| Class definition |
| Modifiers |
| Annotation |
| PsiElement(@)('@') |
| Reference element |
| PsiElement(identifier)('SampleAnnotation') |
| PsiWhiteSpace(' ') |
| Annotation arguments |
| PsiElement(()('(') |
| Annotation member value pair |
| PsiElement(identifier)('foo') |
| PsiWhiteSpace(' ') |
| PsiElement(=)('=') |
| PsiWhiteSpace(' ') |
| Annotation array initializer |
| PsiElement([)('[') |
| Literal |
| PsiElement(Integer)('1') |
| PsiElement(,)(',') |
| PsiWhiteSpace(' ') |
| Literal |
| PsiElement(Integer)('2') |
| PsiElement(])(']') |
| PsiElement())(')') |
| PsiElement(new line)('\n') |
| PsiElement(class)('class') |
| PsiWhiteSpace(' ') |
| PsiElement(identifier)('GroovyClass') |
| Extends clause |
| <empty list> |
| Implements clause |
| <empty list> |
| PsiWhiteSpace(' ') |
| Type definition body |
| PsiElement({)('{') |
| PsiElement(})('}') |