public final class JavaInstance<T> extends InjectionPlan<T>
Constructor and Description |
---|
JavaInstance(Node name,
T instance) |
Modifier and Type | Method and Description |
---|---|
T |
getInstance() |
String |
getInstanceAsString() |
int |
getNumAlternatives() |
boolean |
isAmbiguous() |
boolean |
isInjectable() |
String |
toShallowString() |
String |
toString() |
getChildren, getNode, isFeasible, toCantInjectString, toPrettyString
public JavaInstance(Node name, T instance)
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 T getInstance()
public String getInstanceAsString()
public String toShallowString()
toShallowString
in class InjectionPlan<T>
Copyright © 2015 The Apache Software Foundation. All rights reserved.