| Package | Description |
|---|---|
| com.sk89q.intake.internal.parametric | |
| com.sk89q.intake.parametric | |
| com.sk89q.intake.parametric.binder |
| Modifier and Type | Method and Description |
|---|---|
<T> Binding<T> |
InternalInjector.getBinding(Key<T> key) |
<T> T |
InternalInjector.getInstance(Key<T> key,
CommandArgs arguments,
List<? extends Annotation> modifiers) |
<T> Provider<T> |
InternalInjector.getProvider(Key<T> key) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Key<T> |
Key.get(Class<T> type) |
static <T> Key<T> |
Key.get(Class<T> type,
Class<? extends Annotation> classifier) |
static <T> Key<T> |
Key.get(Type type) |
static <T> Key<T> |
Key.get(Type type,
Class<? extends Annotation> classifier) |
Key<T> |
Binding.getKey()
Get the key representing the type.
|
Key<T> |
Key.setClassifier(Class<? extends Annotation> classifier) |
| Modifier and Type | Method and Description |
|---|---|
<T> BindingBuilder<T> |
AbstractModule.bind(Key<T> key) |
int |
Key.compareTo(Key<?> o) |
<T> Binding<T> |
Injector.getBinding(Key<T> key)
Get the binding for the given key, if one exists.
|
<T> T |
Injector.getInstance(Key<T> key,
CommandArgs arguments,
List<? extends Annotation> modifiers)
Attempt to provide a value for the given key using the given
arguments.
|
<T> Provider<T> |
Injector.getProvider(Key<T> key)
Get the provider for the given key, if one exists.
|
boolean |
Key.matches(Key<T> key) |
| Modifier and Type | Method and Description |
|---|---|
<T> BindingBuilder<T> |
Binder.bind(Key<T> key)
Start a binding with a key.
|
Copyright © 2015. All Rights Reserved.