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