| import a.; |
| import a.b.; |
| import; |
| import a.b.c |
| ----- |
| Groovy script |
| Import statement |
| Modifiers |
| <empty list> |
| PsiElement(import)('import') |
| PsiWhiteSpace(' ') |
| Reference element |
| Reference element |
| PsiElement(identifier)('a') |
| PsiElement(.)('.') |
| PsiErrorElement:Identifier expected |
| <empty list> |
| PsiElement(;)(';') |
| PsiElement(new line)('\n') |
| Import statement |
| Modifiers |
| <empty list> |
| PsiElement(import)('import') |
| PsiWhiteSpace(' ') |
| Reference element |
| Reference element |
| Reference element |
| PsiElement(identifier)('a') |
| PsiElement(.)('.') |
| PsiElement(identifier)('b') |
| PsiElement(.)('.') |
| PsiErrorElement:Identifier expected |
| <empty list> |
| PsiElement(;)(';') |
| PsiElement(new line)('\n') |
| Import statement |
| Modifiers |
| <empty list> |
| PsiElement(import)('import') |
| PsiErrorElement:package or class name expected |
| <empty list> |
| PsiElement(;)(';') |
| PsiElement(new line)('\n') |
| Import statement |
| Modifiers |
| <empty list> |
| PsiElement(import)('import') |
| PsiWhiteSpace(' ') |
| Reference element |
| Reference element |
| Reference element |
| PsiElement(identifier)('a') |
| PsiElement(.)('.') |
| PsiElement(identifier)('b') |
| PsiElement(.)('.') |
| PsiElement(identifier)('c') |