Top Inners Fields Constructors Methods
com.fasterxml.jackson.datatype.hppc

public Class HppcModule

extends SimpleModule
Class Inheritance
Imports
java.lang.reflect.Type, com.fasterxml.jackson.databind.*, com.fasterxml.jackson.databind.module.SimpleModule, com.fasterxml.jackson.databind.type.*, com.carrotsearch.hppc.ObjectContainer, com.fasterxml.jackson.datatype.hppc.deser.HppcDeserializers, com.fasterxml.jackson.datatype.hppc.ser.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
HppcModule.HppcTypeModifier

Ww need to ensure that parameterized ("generic") containers are recognized as Collection-/Map-like types, so that associated annotations are processed, and key/value types passed as expected.

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.module.SimpleModule:
_abstractTypes_deserializerModifier_deserializers_hasExplicitName_keyDeserializers_keySerializers_mixins_name_namingStrategy_serializerModifier_serializers_subtypes_valueInstantiators_version

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
setupModule(Module.SetupContext context)

Overrides com.fasterxml.jackson.databind.module.SimpleModule.setupModule.

Standard implementation handles registration of all configured customizations: it is important that sub-classes call this implementation (usually before additional custom logic) if they choose to override it; otherwise customizations will not be registered.

Inherited from com.fasterxml.jackson.databind.module.SimpleModule:
_checkNotNulladdAbstractTypeMappingaddDeserializeraddKeyDeserializeraddKeySerializeraddSerializeraddSerializeraddValueInstantiatorgetModuleNamegetTypeIdregisterSubtypesregisterSubtypesregisterSubtypessetAbstractTypessetDeserializerModifiersetDeserializerssetKeyDeserializerssetKeySerializerssetMixInAnnotationsetNamingStrategysetSerializerModifiersetSerializerssetValueInstantiatorsversion

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.module.SimpleModule.serialVersionUID.

Constructor Detail

HppcModuleback to summary
public HppcModule()

Method Detail

setupModuleback to summary
public void setupModule(Module.SetupContext context)

Overrides com.fasterxml.jackson.databind.module.SimpleModule.setupModule.

Doc from com.fasterxml.jackson.databind.module.SimpleModule.setupModule.

Standard implementation handles registration of all configured customizations: it is important that sub-classes call this implementation (usually before additional custom logic) if they choose to override it; otherwise customizations will not be registered.

Annotations
@Override
com.fasterxml.jackson.datatype.hppc back to summary

pack-priv Class HppcModule.HppcTypeModifier

extends TypeModifier
Class Inheritance

Ww need to ensure that parameterized ("generic") containers are recognized as Collection-/Map-like types, so that associated annotations are processed, and key/value types passed as expected.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public JavaType
modifyType(JavaType
Instance to modify
type
,
Type
JDK type that was used to construct instance to modify
jdkType
,
TypeBindings
Type resolution context used for the type
bindings
,
TypeFactory
Type factory that can be used to construct parameter type; note, however, that care must be taken to avoid infinite loops -- specifically, do not construct instance of primary type itself
typeFactory
)

Implements abstract com.fasterxml.jackson.databind.type.TypeModifier.modifyType.

Method called to let modifier change constructed type definition.

Constructor Detail

HppcTypeModifierback to summary
pack-priv HppcTypeModifier()

Method Detail

modifyTypeback to summary
public JavaType modifyType(JavaType type, Type jdkType, TypeBindings bindings, TypeFactory typeFactory)

Implements abstract com.fasterxml.jackson.databind.type.TypeModifier.modifyType.

Doc from com.fasterxml.jackson.databind.type.TypeModifier.modifyType.

Method called to let modifier change constructed type definition. Note that this is only guaranteed to be called for non-container types ("simple" types not recognized as arrays, java.util.Collection or java.util.Map).

Parameters
type:JavaType

Instance to modify

jdkType:Type

JDK type that was used to construct instance to modify

bindings:TypeBindings

Type resolution context used for the type

typeFactory:TypeFactory

Type factory that can be used to construct parameter type; note, however, that care must be taken to avoid infinite loops -- specifically, do not construct instance of primary type itself

Returns:JavaType

Actual type instance to use; usually either type (as is or with modifications), or a newly constructed type instance based on it. Cannot be null.

Annotations
@Override