public final class InjectedKey<T>
extends java.lang.Object
Key (using composition over inheritance)
that adds two boolean states representing the requirement of the
injection of this key and if this key will be assisted or not.| Constructor and Description |
|---|
InjectedKey(Key<T> key,
boolean optional,
boolean assisted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Key<T> |
getKey() |
int |
hashCode() |
boolean |
isAssisted() |
boolean |
isOptional() |
java.lang.String |
toString() |
public boolean isOptional()
public boolean isAssisted()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object