code: public static Object findEnumConstant(Class<?> type, String constantName) {
          return findEnumConstant(type, constantName, true);
      }
docs: Finds an instance of an Enum constant on a class. Useful for safely
  getting the value of an enum constant without an exception being thrown
  like the Enum.valueOf() method causes. Searches for enum constant
  where case is sensitive.