ValueInstantiator class
that calls constructors and/or factory methods directly, instead
of using Reflection.
| Modifier and Type | Field and Description |
|---|---|
| private final MethodHandles. | |
| protected final StdValueInstantiator | |
| protected final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueInstantiator | |
| private MethodHandle | |
| public static Object |
| _lookup | back to summary |
|---|---|
| private final MethodHandles. | |
| _originalInstantiator | back to summary |
|---|---|
| protected final StdValueInstantiator _originalInstantiator | |
| _valueClass | back to summary |
|---|---|
| protected final Class<?> _valueClass | |
| CreatorOptimizer | back to summary |
|---|---|
| public CreatorOptimizer(Class<?> valueClass, MethodHandles. | |
| createOptimized | back to summary |
|---|---|
| public ValueInstantiator createOptimized() | |
| directHandle | back to summary |
|---|---|
| private MethodHandle directHandle(AnnotatedElement element) | |
| invokeTrampoline | back to summary |
|---|---|
| public static Object invokeTrampoline(MethodHandle delegate, Object[] args) throws Throwable | |