public final class Types extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEnum(Class<?> type)
Detect whether a class is an enum or a subclass of an enum - e.g. an anonymous inner class
inside an enum
|
public static boolean isEnum(Class<?> type)
type - the type to inspecttrue if effectively an enumCopyright © 2025 FasterXML. All rights reserved.