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.
|
public static boolean isEnum(Class<?> type)
type - the type to inspecttrue if effectively an enumCopyright © 2024 FasterXML. All rights reserved.