public final class Constructor<T> extends InjectionPlan<T>
Constructor and Description |
---|
Constructor(ClassNode<T> classNode,
ConstructorDef<T> constructor,
InjectionPlan<?>[] args) |
Modifier and Type | Method and Description |
---|---|
InjectionPlan<?>[] |
getArgs() |
Collection<InjectionPlan<?>> |
getChildren()
Get child elements of the injection plan tree.
|
ConstructorDef<T> |
getConstructorDef() |
ClassNode<T> |
getNode() |
int |
getNumAlternatives() |
boolean |
isAmbiguous() |
boolean |
isInjectable() |
String |
toShallowString() |
String |
toString() |
isFeasible, toCantInjectString, toPrettyString
public Constructor(ClassNode<T> classNode, ConstructorDef<T> constructor, InjectionPlan<?>[] args)
public InjectionPlan<?>[] getArgs()
public Collection<InjectionPlan<?>> getChildren()
getChildren
in interface Traversable<InjectionPlan<?>>
getChildren
in class InjectionPlan<T>
public ConstructorDef<T> getConstructorDef()
public int getNumAlternatives()
getNumAlternatives
in class InjectionPlan<T>
public boolean isAmbiguous()
isAmbiguous
in class InjectionPlan<T>
public boolean isInjectable()
isInjectable
in class InjectionPlan<T>
public String toShallowString()
toShallowString
in class InjectionPlan<T>
Copyright © 2015 The Apache Software Foundation. All rights reserved.