Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stricter check for enum classes in EnumModelProvider #558
Co-author: volivan239 Anonymous inner classes declared for enum constants are not enums themselves, as the necessary condition for being enums is that their direct supertype is `java.lang.Enum` (see the JavaDoc and comments of `java.lang.Class#isEnum` method). For these classes, `getEnumConstants` method returns `null`.
- Loading branch information