How to check if java.lang.reflect.Type is an Enum December 22, 2023 by Tarik if(type instanceof Class && ((Class<?>)type).isEnum())