public class CreatorOptimizer extends Object
ValueInstantiator
class
that calls constructors and/or factory methods directly, instead
of using Reflection.Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.deser.std.StdValueInstantiator |
_originalInstantiator |
protected Class<?> |
_valueClass |
Constructor and Description |
---|
CreatorOptimizer(Class<?> valueClass,
MethodHandles.Lookup lookup,
com.fasterxml.jackson.databind.deser.std.StdValueInstantiator orig) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.deser.ValueInstantiator |
createOptimized() |
static Object |
invokeTrampoline(MethodHandle delegate,
Object[] args) |
protected final Class<?> _valueClass
protected final com.fasterxml.jackson.databind.deser.std.StdValueInstantiator _originalInstantiator
public CreatorOptimizer(Class<?> valueClass, MethodHandles.Lookup lookup, com.fasterxml.jackson.databind.deser.std.StdValueInstantiator orig)
public com.fasterxml.jackson.databind.deser.ValueInstantiator createOptimized()
public static Object invokeTrampoline(MethodHandle delegate, Object[] args) throws Throwable
Throwable
Copyright © 2021 FasterXML. All rights reserved.