public class Key<T> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Annotation |
getAnnotation() |
Class<? extends Annotation> |
getAnnotationType() |
Class<?> |
getSource() |
int |
hashCode() |
static <T> Key<T> |
of(Binding<T> binding) |
static <T> Key<T> |
of(Class<T> source) |
static <T> Key<T> |
of(Class<T> source,
Annotation annotation) |
static <T> Key<T> |
of(Class<T> source,
Class<? extends Annotation> annotationType) |
String |
toString() |
@Nullable public Class<? extends Annotation> getAnnotationType()
@Nullable public Annotation getAnnotation()
@Nonnull public static <T> Key<T> of(@Nonnull Class<T> source, @Nonnull Class<? extends Annotation> annotationType)