Home
last modified time | relevance | path

Searched refs:enumCls (Results 1 – 5 of 5) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumResolver.java37 public static EnumResolver constructFor(Class<Enum<?>> enumCls, AnnotationIntrospector ai) in constructFor() argument
39 Enum<?>[] enumValues = enumCls.getEnumConstants(); in constructFor()
41 throw new IllegalArgumentException("No enum constants for class "+enumCls.getName()); in constructFor()
43 String[] names = ai.findEnumValues(enumCls, enumValues, new String[enumValues.length]); in constructFor()
45 ai.findEnumAliases(enumCls, enumValues, allAliases); in constructFor()
65 return new EnumResolver(enumCls, enumValues, map, ai.findDefaultEnumValue(enumCls)); in constructFor()
72 public static EnumResolver constructUsingToString(Class<Enum<?>> enumCls) { in constructUsingToString() argument
73 return constructUsingToString(enumCls, null); in constructUsingToString()
82 public static EnumResolver constructUsingToString(Class<Enum<?>> enumCls, in constructUsingToString() argument
85 Enum<?>[] enumConstants = enumCls.getEnumConstants(); in constructUsingToString()
[all …]
DEnumValues.java46 Class<? extends Enum<?>> enumCls = ClassUtil.findEnumType(enumClass); in constructFromName() local
47 Enum<?>[] enumValues = enumCls.getEnumConstants(); in constructFromName()
51 …String[] names = config.getAnnotationIntrospector().findEnumValues(enumCls, enumValues, new String… in constructFromName()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotationIntrospectorPair.java648 public Enum<?> findDefaultEnumValue(Class<Enum<?>> enumCls) { in findDefaultEnumValue() argument
649 Enum<?> en = _primary.findDefaultEnumValue(enumCls); in findDefaultEnumValue()
650 return (en == null) ? _secondary.findDefaultEnumValue(enumCls) : en; in findDefaultEnumValue()
DJacksonAnnotationIntrospector.java271 public Enum<?> findDefaultEnumValue(Class<Enum<?>> enumCls) { in findDefaultEnumValue() argument
272 return ClassUtil.findFirstAnnotatedEnumValue(enumCls, JsonEnumDefaultValue.class); in findDefaultEnumValue()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DAnnotationIntrospector.java1065 public Enum<?> findDefaultEnumValue(Class<Enum<?>> enumCls) { in findDefaultEnumValue() argument