public class GuiceUtils extends Object
Constructor and Description |
---|
GuiceUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> Key<T> |
ensureProvidedKey(Key<T> key,
com.google.inject.internal.Errors errors) |
static List<Key<?>> |
getMethodKeys(Method method,
com.google.inject.internal.Errors errors) |
static <T> Key<T> |
getProvidedKey(Key<Provider<T>> key,
com.google.inject.internal.Errors errors) |
static <T> TypeLiteral<T> |
getProvidedType(TypeLiteral<? extends Provider<? extends T>> initialProviderTypeLiteral,
com.google.inject.internal.Errors errors) |
static boolean |
isProvider(Key<?> key) |
public static boolean isProvider(Key<?> key)
public static <T> TypeLiteral<T> getProvidedType(TypeLiteral<? extends Provider<? extends T>> initialProviderTypeLiteral, com.google.inject.internal.Errors errors) throws com.google.inject.internal.ErrorsException
public static <T> Key<T> getProvidedKey(Key<Provider<T>> key, com.google.inject.internal.Errors errors) throws com.google.inject.internal.ErrorsException
public static <T> Key<T> ensureProvidedKey(Key<T> key, com.google.inject.internal.Errors errors)
public static List<Key<?>> getMethodKeys(Method method, com.google.inject.internal.Errors errors)
Copyright © 2010-2013 ArcBees Inc.. All Rights Reserved.