Package | Description |
---|---|
org.eclipse.gef4.common.inject |
This package provides support for Google Guice-based injection of adapters.
|
Modifier and Type | Method and Description |
---|---|
static AdapterMap |
AdapterMaps.typed(java.lang.Class<? extends IAdaptable> type)
Creates a
AdapterMap annotation with the given type . |
Modifier and Type | Method and Description |
---|---|
protected java.util.SortedMap<com.google.inject.Key<?>,com.google.inject.Binding<?>> |
AdapterMapInjector.getPolymorphicAdapterMapBindings(java.lang.Class<?> adaptableType,
java.lang.reflect.Method method,
AdapterMap methodAnnotation)
Retrieves all adapter map bindings where the adaptable type of the map
binding is a true super type or true super interface of the one referred
to in the given method annotation, and assignable from the given
adaptable type.
|
Constructor and Description |
---|
AdapterMapInjector(java.lang.reflect.Method method,
AdapterMap methodAnnotation)
Creates a new
AdapterMapInjector to inject the given
Method , annotated with the given AdapterMap method
annotation. |
Copyright (c) 2014 itemis AG and others. All rights reserved.