Package com.google.inject.internal
Class DefaultConstructionProxyFactory.ReflectiveProxy<T>
java.lang.Object
com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy<T>
- All Implemented Interfaces:
ConstructionProxy<T>
- Enclosing class:
- DefaultConstructionProxyFactory<T>
private static final class DefaultConstructionProxyFactory.ReflectiveProxy<T>
extends Object
implements ConstructionProxy<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Constructor<T>
(package private) final InjectionPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the injected constructor.Returns the injection point for this constructor.newInstance
(Object... arguments) Constructs an instance ofT
for the given arguments.
-
Field Details
-
constructor
-
injectionPoint
-
-
Constructor Details
-
ReflectiveProxy
ReflectiveProxy(InjectionPoint injectionPoint, Constructor<T> constructor)
-
-
Method Details
-
newInstance
Description copied from interface:ConstructionProxy
Constructs an instance ofT
for the given arguments.- Specified by:
newInstance
in interfaceConstructionProxy<T>
- Throws:
InvocationTargetException
-
getInjectionPoint
Description copied from interface:ConstructionProxy
Returns the injection point for this constructor.- Specified by:
getInjectionPoint
in interfaceConstructionProxy<T>
-
getConstructor
Description copied from interface:ConstructionProxy
Returns the injected constructor. If the injected constructor is synthetic (such as generated code for method interception), the natural constructor is returned.- Specified by:
getConstructor
in interfaceConstructionProxy<T>
-