Class Types

java.lang.Object
com.fasterxml.jackson.jr.ob.impl.Types

public final class Types extends Object
Utilities to help with reflection and types
  • Method Details

    • isEnum

      public 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
      Parameters:
      type - the type to inspect
      Returns:
      true if effectively an enum