Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

plugin complains about legal unknown annotations #47

@chrylis

Description

@chrylis

Lombok uses an odd hack to enable capturing annotations to be applied to generated code, which doesn't play nicely with the plugin:

/tmp/java/demo/src/main/java/com/example/DemoController.java:18: error: cannot find symbol
@RequiredArgsConstructor(onConstructor=@__(@Autowired))
                                        ^
  symbol: class __
1 error

The class appears to actually compile correctly later, but the plugin itself complains spuriously, and it might have trouble if a class with an @__ annotation were also an entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions