Skip to content

Wildcard support in acceptClasses / rejectClasses #536

@cushon

Description

@cushon

The docs for acceptClasses and rejectClasses mention

May not include a glob wildcard (*).

Is this something you'd consider supporting in the future, or are there fundamental reasons why it isn't supported?

My use-case is scanning large jars for classes annotated with a particular annotation, and I'm seeing some OOMs. The annotated classes aren't necessarily in the same package, but they all follow a naming convention and have the same suffix, so it would be useful to be able to filter for names matching that suffix with something like acceptClasses("*Suffix.class").

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