public class PlaceholderSatisfaction extends Object implements Satisfaction, Serializable
A placeholder satisfaction for graph rewriting.
Constructor and Description |
---|
PlaceholderSatisfaction(Class<?> type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CachePolicy |
getDefaultCachePolicy() |
List<Desire> |
getDependencies() |
Class<?> |
getErasedType() |
Type |
getType() |
int |
hashCode() |
boolean |
hasInstance() |
Instantiator |
makeInstantiator(Map<Desire,Instantiator> dependencies,
LifecycleManager lm) |
String |
toString() |
<T> T |
visit(SatisfactionVisitor<T> visitor) |
public PlaceholderSatisfaction(Class<?> type)
public List<Desire> getDependencies()
getDependencies
in interface Satisfaction
public Type getType()
getType
in interface Satisfaction
public Class<?> getErasedType()
getErasedType
in interface Satisfaction
public boolean hasInstance()
hasInstance
in interface Satisfaction
public <T> T visit(SatisfactionVisitor<T> visitor)
visit
in interface Satisfaction
public CachePolicy getDefaultCachePolicy()
getDefaultCachePolicy
in interface Satisfaction
public Instantiator makeInstantiator(@Nonnull Map<Desire,Instantiator> dependencies, @Nullable LifecycleManager lm)
makeInstantiator
in interface Satisfaction