Fix JavaType.isEnumType()
to support sub-classes
#2480
Milestone
JavaType.isEnumType()
to support sub-classes
#2480
(note: follow up for #2457)
So,
JavaType.isEnumType()
will only detect directEnum
subclasses as being Enums.It should allow transitive types (needed for sub-classing by extension within Enum declaration), but doing that will break 3 unit tests. Need to investigate why, work around: they all seem to be related to
EnumSet
which is tricky type.The text was updated successfully, but these errors were encountered: