Skip to content

don't return synthetic elements by default #700

Description

@Ladicek

Jandex's ClassInfo.fields() and methods() by default return synthetic elements, which users typically don't want when they're scanning for user-defined concepts (like CDI beans, JAX-RS resource methods, etc.), because synthetic elements never represent user-defined concepts, even if they carry the same annotations. We could have something like allFields() / allMethods() that would return them, for completeness.

The big obvious problem is this would be a huge breaking change. Need to think about it.

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