I came across this problem that I without knowing the actual enum type I need to iterate its possible values.
enum
if (value instanceof Enum){ Enu
... or MyEnum.values() ? Or am I missing something?