| Modifier and Type | Class and Description |
|---|---|
| private static class | DefaultConstructionProxyFactory.
A |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final InjectionPoint |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultConstructionProxyFactory(InjectionPoint
an injection point whose member is a constructor of injectionPoint)T.
|
| Modifier and Type | Method and Description |
|---|---|
| public ConstructionProxy | create()
Implements com. |
| injectionPoint | back to summary |
|---|---|
| private final InjectionPoint injectionPoint | |
| DefaultConstructionProxyFactory | back to summary |
|---|---|
pack-priv DefaultConstructionProxyFactory(InjectionPoint injectionPoint)
| |
| create | back to summary |
|---|---|
| public ConstructionProxy Implements com. Doc from com. Gets a construction proxy for the given constructor.
| |
ConstructionProxy that uses bytecode generation to invoke the constructor.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Constructor | |
| pack-priv final BiFunction | |
| pack-priv final InjectionPoint |
| Access | Constructor and Description |
|---|---|
| pack-priv | FastClassProxy(InjectionPoint injectionPoint, Constructor<T> constructor, BiFunction<Object, Object[], Object> fastConstructor)
|
| Modifier and Type | Method and Description |
|---|---|
| public Constructor | getConstructor()
Implements com. |
| public InjectionPoint | getInjectionPoint()
Implements com. |
| public ImmutableMap | getMethodInterceptors()
Implements com. |
| public T | newInstance(Object... arguments)
Implements com. T for the given arguments.
|
| constructor | back to summary |
|---|---|
| pack-priv final Constructor<T> constructor | |
| fastConstructor | back to summary |
|---|---|
| pack-priv final BiFunction<Object, Object[], Object> fastConstructor | |
| injectionPoint | back to summary |
|---|---|
| pack-priv final InjectionPoint injectionPoint | |
| FastClassProxy | back to summary |
|---|---|
| pack-priv FastClassProxy(InjectionPoint injectionPoint, Constructor<T> constructor, BiFunction<Object, Object[], Object> fastConstructor) | |
| getConstructor | back to summary |
|---|---|
| public Constructor Implements com. Doc from com. Returns the injected constructor. If the injected constructor is synthetic (such as generated code for method interception), the natural constructor is returned.
| |
| getInjectionPoint | back to summary |
|---|---|
| public InjectionPoint getInjectionPoint() Implements com. Doc from com. Returns the injection point for this constructor.
| |
| getMethodInterceptors | back to summary |
|---|---|
| public ImmutableMap Implements com. Doc from com. Returns the interceptors applied to each method, in order of invocation.
| |
| newInstance | back to summary |
|---|---|
| public T newInstance(Object... arguments) throws InvocationTargetException Implements com. Doc from com. Constructs an instance of
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Constructor | |
| pack-priv final InjectionPoint |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Constructor | getConstructor()
Implements com. |
| public InjectionPoint | getInjectionPoint()
Implements com. |
| public ImmutableMap | getMethodInterceptors()
Implements com. |
| public T | newInstance(Object... arguments)
Implements com. T for the given arguments.
|
| constructor | back to summary |
|---|---|
| pack-priv final Constructor<T> constructor | |
| injectionPoint | back to summary |
|---|---|
| pack-priv final InjectionPoint injectionPoint | |
| ReflectiveProxy | back to summary |
|---|---|
| pack-priv ReflectiveProxy(InjectionPoint injectionPoint, Constructor<T> constructor) | |
| getConstructor | back to summary |
|---|---|
| public Constructor Implements com. Doc from com. Returns the injected constructor. If the injected constructor is synthetic (such as generated code for method interception), the natural constructor is returned.
| |
| getInjectionPoint | back to summary |
|---|---|
| public InjectionPoint getInjectionPoint() Implements com. Doc from com. Returns the injection point for this constructor.
| |
| getMethodInterceptors | back to summary |
|---|---|
| public ImmutableMap Implements com. Doc from com. Returns the interceptors applied to each method, in order of invocation.
| |
| newInstance | back to summary |
|---|---|
| public T newInstance(Object... arguments) throws InvocationTargetException Implements com. Doc from com. Constructs an instance of
| |