Skip to content

hasPermittedSubclasses and hasNoPermittedSubclasses for Class assertions #3263

@scordio

Description

@scordio

We should add hasPermittedSubclasses(Class<?>...) and hasNoPermittedSubclasses() to Class assertions, following Class::getPermittedSubclasses.

As we still target Java 8, the implementation should be reflection-based, similar to #3080.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions