Interface ConstructorBinding<T>
- All Superinterfaces:
Binding<T>, Element, HasDependencies
A binding to the constructor of a concrete class. To resolve injections, an instance is
instantiated by invoking the constructor.
- Since:
- 2.0
- Author:
- jessewilson@google.com (Jesse Wilson)
-
Method Summary
Modifier and TypeMethodDescriptionGets the constructor this binding injects.Returns all instance method and field injection points ontype.Returns the interceptors applied to each method, in the order that they will be applied.Methods inherited from interface Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProviderMethods inherited from interface Element
acceptVisitor, applyTo, getSourceMethods inherited from interface HasDependencies
getDependencies
-
Method Details
-
getConstructor
InjectionPoint getConstructor()Gets the constructor this binding injects. -
getInjectableMembers
Set<InjectionPoint> getInjectableMembers()Returns all instance method and field injection points ontype.- Returns:
- a possibly empty set of injection points. The set has a specified iteration order. All fields are returned and then all methods. Within the fields, supertype fields are returned before subtype fields. Similarly, supertype methods are returned before subtype methods.
-
getMethodInterceptors
-