Home
last modified time | relevance | path

Searched refs:isEnumType (Results 1 – 22 of 22) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestJavaType.java95 assertFalse(baseType.isEnumType()); in testSimpleClass()
175 assertTrue(enumT.isEnumType()); in testEnumType()
187 assertTrue(tf.constructType(MyEnum2.class).isEnumType()); in testEnumType()
188 assertTrue(tf.constructType(MyEnum.A.getClass()).isEnumType()); in testEnumType()
189 assertTrue(tf.constructType(MyEnum2.A.getClass()).isEnumType()); in testEnumType()
194 assertTrue(enumSubT.isEnumType()); in testEnumType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJavaType.java300 public final boolean isEnumType() { in isEnumType() method in JavaType
302 return ClassUtil.isEnumType(_class); in isEnumType()
312 return ClassUtil.isEnumType(_class) && (_class != Enum.class); in isEnumImplType()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/type/
DResolvedType.java37 public abstract boolean isEnumType(); in isEnumType() method in ResolvedType
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/type/
DTypeReferenceTest.java48 public boolean isEnumType() { in isEnumType() method in TypeReferenceTest.BogusResolvedType
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotatedCreatorCollector.java109 if (!type.isEnumType()) { in _findPotentialConstructors()
282 if (ClassUtil.isEnumType(dc) && (paramCount == paramAnns.length + 2)) { in constructNonDefaultConstructor()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DClassNameIdResolver.java92 if (ClassUtil.isEnumType(cls)) { in _idFrom()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DEnumSerializer.java149 if (type.isEnumType()) { in getSchema()
DStdKeySerializers.java103 if (ClassUtil.isEnumType(rawKeyType)) { in getFallbackKeySerializer()
DJsonValueSerializer.java252 if ((declaring != null) && ClassUtil.isEnumType(declaring)) { in acceptJsonFormatVisitor()
DBeanSerializerBase.java460 if (_beanType.isEnumType()) { in createContextual()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleSerializers.java131 if (_hasEnumSerializer && type.isEnumType()) { in findSerializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DEnumSetDeserializer.java69 if (!enumType.isEnumType()) { in EnumSetDeserializer()
DStdKeyDeserializer.java142 if (ClassUtil.isEnumType(_keyClass) in deserializeKey()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DCreatorCollector.java363 return ClassUtil.isEnumType(creator.getDeclaringClass()) in _isEnumValueOf()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestCustomEnumKeyDeserializer.java249 if (!type.isEnumType()) { in testCustomEnumValueAndKeyViaModifier()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DDeserializerCache.java370 if (type.isEnumType()) { in _createDeserializer2()
DBeanDeserializerFactory.java119 if (type.isAbstract() && !type.isPrimitive() && !type.isEnumType()) { in createBeanDeserializer()
DBasicDeserializerFactory.java1675 if (type.isEnumType()) { in createKeyDeserializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerFactory.java286 if (!ClassUtil.isEnumType(type.getRawClass())) { in findBeanOrAddOnSerializer()
DBasicSerializerFactory.java422 if (type.isEnumType()) { in findSerializerByPrimaryType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DClassUtil.java958 public static boolean isEnumType(Class<?> rawType) { in isEnumType() method in ClassUtil
/external/jackson-databind/release-notes/
DVERSION-2.x115 #2480: Fix `JavaType.isEnumType()` to support sub-classes