Home
last modified time | relevance | path

Searched refs:findEnumType (Results 1 – 4 of 4) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DClassUtilTest.java205 assertEquals(TestEnum.class, ClassUtil.findEnumType(TestEnum.A)); in testFindEnumType()
207 assertEquals(TestEnum.class, ClassUtil.findEnumType(EnumSet.allOf(TestEnum.class))); in testFindEnumType()
208 assertEquals(TestEnum.class, ClassUtil.findEnumType(EnumSet.noneOf(TestEnum.class))); in testFindEnumType()
210 …assertEquals(TestEnum.class, ClassUtil.findEnumType(new EnumMap<TestEnum,Integer>(TestEnum.class))… in testFindEnumType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DClassNameIdResolver.java111 Class<?> enumClass = ClassUtil.findEnumType((EnumSet<?>) value); in _idFrom()
115 Class<?> enumClass = ClassUtil.findEnumType((EnumMap<?,?>) value); in _idFrom()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumValues.java46 Class<? extends Enum<?>> enumCls = ClassUtil.findEnumType(enumClass); in constructFromName()
66 Class<? extends Enum<?>> cls = ClassUtil.findEnumType(enumClass); in constructFromToString()
DClassUtil.java968 public static Class<? extends Enum<?>> findEnumType(EnumSet<?> s) in findEnumType() method in ClassUtil
972 return findEnumType(s.iterator().next()); in findEnumType()
984 public static Class<? extends Enum<?>> findEnumType(EnumMap<?,?> m) in findEnumType() method in ClassUtil
987 return findEnumType(m.keySet().iterator().next()); in findEnumType()
1000 public static Class<? extends Enum<?>> findEnumType(Enum<?> en) in findEnumType() method in ClassUtil
1017 public static Class<? extends Enum<?>> findEnumType(Class<?> cls) in findEnumType() method in ClassUtil