Searched refs:findEnumType (Results 1 – 4 of 4) sorted by relevance
205 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()
111 Class<?> enumClass = ClassUtil.findEnumType((EnumSet<?>) value); in _idFrom()115 Class<?> enumClass = ClassUtil.findEnumType((EnumMap<?,?>) value); in _idFrom()
46 Class<? extends Enum<?>> enumCls = ClassUtil.findEnumType(enumClass); in constructFromName()66 Class<? extends Enum<?>> cls = ClassUtil.findEnumType(enumClass); in constructFromToString()
968 public static Class<? extends Enum<?>> findEnumType(EnumSet<?> s) in findEnumType() method in ClassUtil972 return findEnumType(s.iterator().next()); in findEnumType()984 public static Class<? extends Enum<?>> findEnumType(EnumMap<?,?> m) in findEnumType() method in ClassUtil987 return findEnumType(m.keySet().iterator().next()); in findEnumType()1000 public static Class<? extends Enum<?>> findEnumType(Enum<?> en) in findEnumType() method in ClassUtil1017 public static Class<? extends Enum<?>> findEnumType(Class<?> cls) in findEnumType() method in ClassUtil