Skip to content

Clarify usage of the name attribute of @Source #478

@jmartisk

Description

@jmartisk

The @Source annotation has a parameter name, the javadoc says it should denote the name of the added field. But the spec text doesn't mention this at all, and the TCK don't verify this either.

Another way to specify the name is to use a @Name annotation on the source method. We might need to clarify that both approaches are supported, and potentially specify which one takes priority?! (Or leave the behavior as "undefined" in case that both approaches are used at the same time)

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