Recognises the annotation however it is written
All 8 scenarios hold
Only the opening line varies below. Every row carries the same two-row text block and the same method declaration after it.
The formatter matches the annotation on its simple name, so any import style works. That is a deliberate limitation, because the formatter reads source text and resolves no imports. The Any package row states the limitation. The formatter does not read the package, so this project's own package, the earlier package, and an unrelated package all match. The last row is where the match stops, on the name itself.
expected outcome
broken scenario
| Scenario | Annotation opening | Table forms? |
|---|---|---|
| Simple name | @TableTest(""" |
|
| Named value member | @TableTest(value = """ |
|
| Spaces around parentheses | @TableTest ( """ |
|
| Alongside another member | @TableTest(resource = "data.csv", value = """ |
|
| Any package at all |
|
|
| A longer annotation name | @TableTestSource(""" | [] |