public final class Key<T> extends Object implements Comparable<Key<?>>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Key<?> o) |
static <T> Key<T> |
get(Class<T> type) |
static <T> Key<T> |
get(Class<T> type,
Class<? extends Annotation> classifier) |
static <T> Key<T> |
get(Type type) |
static <T> Key<T> |
get(Type type,
Class<? extends Annotation> classifier) |
Class<? extends Annotation> |
getClassifier() |
Type |
getType() |
boolean |
matches(Key<T> key) |
Key<T> |
setClassifier(Class<? extends Annotation> classifier) |
String |
toString() |
public Type getType()
@Nullable public Class<? extends Annotation> getClassifier()
public Key<T> setClassifier(@Nullable Class<? extends Annotation> classifier)
public int compareTo(Key<?> o)
compareTo in interface Comparable<Key<?>>public static <T> Key<T> get(Class<T> type, @Nullable Class<? extends Annotation> classifier)
public static <T> Key<T> get(Type type, @Nullable Class<? extends Annotation> classifier)
Copyright © 2015. All Rights Reserved.