/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTest.java | 34 TypeLiteral<List<String>> a = new TypeLiteral<List<String>>() {}; in testWithParameterizedType() 35 TypeLiteral<List<String>> b = new TypeLiteral<List<String>>(Types.listOf(String.class)) {}; in testWithParameterizedType() 40 TypeLiteral<List<String>> t1 = new TypeLiteral<List<String>>() {}; in testEquality() 41 TypeLiteral<List<String>> t2 = new TypeLiteral<List<String>>() {}; in testEquality() 42 TypeLiteral<List<Integer>> t3 = new TypeLiteral<List<Integer>>() {}; in testEquality() 43 TypeLiteral<String> t4 = new TypeLiteral<String>() {}; in testEquality() 53 TypeLiteral<String> t5 = TypeLiteral.get(String.class); in testEquality() 60 TypeLiteral<?> a = TypeLiteral.get(getClass().getField("wildcardExtends").getGenericType()); in testWithWildcardType() 61 TypeLiteral<?> b = TypeLiteral.get(Types.listOf(Types.subtypeOf(CharSequence.class))); in testWithWildcardType() 62 TypeLiteral<?> c = new TypeLiteral<List<? extends CharSequence>>() {}; in testWithWildcardType() [all …]
|
D | TypeLiteralTypeResolutionTest.java | 97 TypeLiteral<?> resolver = TypeLiteral.get(arrayListOfString); in testDirectInheritance() 102 ImmutableList.<TypeLiteral<?>>of(TypeLiteral.get(String.class)), in testDirectInheritance() 107 TypeLiteral<?> resolver = TypeLiteral.get(arrayListOfString); in testGenericSupertype() 121 TypeLiteral<?> resolver = TypeLiteral.get(MyInteger.class); in testRecursiveTypeVariable() 137 TypeLiteral<?> resolver = TypeLiteral.get(hasGenericFieldsOfShort); in testFields() 148 TypeLiteral<?> resolver = TypeLiteral.get(hasGenericConstructorOfShort); in testGenericConstructor() 159 TypeLiteral<?> type = TypeLiteral.get(throwerOfNpe); in testThrowsExceptions() 171 TypeLiteral<?> resolver = TypeLiteral.get(hasArrayOfShort); in testArrays() 183 TypeLiteral<?> resolver = TypeLiteral.get(hasRelatedOfString); in testRelatedTypeVariables() 194 TypeLiteral<?> resolver = in testCachingAndReindexing() [all …]
|
D | TypeLiteralInjectionTest.java | 39 bind(TypeLiteral.class).toInstance(TypeLiteral.get(String.class)); in testBindingToRawTypeLiteralIsNotAllowed() 56 bind(new TypeLiteral<TypeLiteral<String>>() {}) in testBindingToParameterizedTypeLiteralIsNotAllowed() 57 .toInstance(TypeLiteral.get(String.class)); in testBindingToParameterizedTypeLiteralIsNotAllowed() 70 assertEquals(TypeLiteral.get(String.class), c.string); in testInjectTypeLiteralWithRawTypes() 71 assertEquals(TypeLiteral.get(A.class), c.a); in testInjectTypeLiteralWithRawTypes() 79 TypeLiteral.class.getName() in testInjectTypeLiteralWithRawTypes() 87 assertEquals(TypeLiteral.get(String.class), b.string); in testInjectTypeLiteralWithClassTypes() 88 assertEquals(TypeLiteral.get(Integer.class), b.t); in testInjectTypeLiteralWithClassTypes() 89 assertEquals(TypeLiteral.get(listOf(Integer.class)), b.listOfT); in testInjectTypeLiteralWithClassTypes() 90 assertEquals(TypeLiteral.get(listOf(Types.subtypeOf(Integer.class))), b.listOfWildcardT); in testInjectTypeLiteralWithClassTypes() [all …]
|
D | GenericInjectionTest.java | 41 bind(new TypeLiteral<List<String>>() {}).toInstance(names); in testGenericInjection() 60 Guice.createInjector().getInstance(Key.get(new TypeLiteral<Parameterized<String>>() {})); in testImplicitBindingOfGenericType() 70 bind(Key.get(new TypeLiteral<Parameterized<String>>() {})) in testExplicitBindingOfGenericType() 76 injector.getInstance(Key.get(new TypeLiteral<Parameterized<String>>() {})); in testExplicitBindingOfGenericType() 91 final TypeLiteral<ParameterizedDeps<String, Integer>> type = in testInjectingParameterizedDependenciesForBindingTarget() 92 new TypeLiteral<ParameterizedDeps<String, Integer>>() {}; in testInjectingParameterizedDependenciesForBindingTarget() 105 final TypeLiteral<ParameterizedDeps<String, Integer>> type = in testInjectingParameterizedDependenciesForBindingSource() 106 new TypeLiteral<ParameterizedDeps<String, Integer>>() {}; in testInjectingParameterizedDependenciesForBindingSource() 119 final TypeLiteral<ParameterizedDeps<String, Integer>> type = in testBindingToSubtype() 120 new TypeLiteral<ParameterizedDeps<String, Integer>>() {}; in testBindingToSubtype() [all …]
|
D | TypeListenerTest.java | 43 Matchers.only(new TypeLiteral<A>() {}) 44 .or(only(new TypeLiteral<B>() {})) 45 .or(only(new TypeLiteral<C>() {})) 46 .or(only(new TypeLiteral<D>() {})); 53 public <I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter) { 99 public <I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter) { in testTypeListenersAreFired() 100 assertEquals(new TypeLiteral<A>() {}, type); in testTypeListenersAreFired() 136 public <I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter) { in testInstallingInjectionListener() 189 public <I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter) { 286 public <I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter) { [all …]
|
D | KeyTest.java | 63 Key<List<String>> b = Key.get(new TypeLiteral<List<String>>() {}, Foo.class); in testKeyEquality() 142 TypeLiteral<Integer> intTypeLiteral = TypeLiteral.get(int.class); in testPrimitivesAndWrappersAreEqual() 153 assertNotSerializable(Key.get(new TypeLiteral<Map<List<B>, B>>() {})); in testSerialization() 154 assertNotSerializable(Key.get(new TypeLiteral<List<B[]>>() {})); in testSerialization() 200 TypeLiteral<?> listOfT = TypeLiteral.get(listOfTType); in testCannotCreateKeysWithTypeVariables() 210 TypeLiteral<?> t = TypeLiteral.get(tType); in testCannotCreateKeysWithTypeVariables() 220 TypeLiteral<Integer> typeLiteral = KeyTest.createTypeLiteral(); in testCannotGetKeyWithUnspecifiedTypeVariables() 229 private static <T> TypeLiteral<T> createTypeLiteral() { in createTypeLiteral() 230 return new TypeLiteral<T>() {}; in createTypeLiteral() 327 bind(new TypeLiteral<List<Integer>>() {}).toInstance(new ArrayList<Integer>()); in testAnonymousClassesDontHoldRefs() [all …]
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryModuleBuilder.java | 23 import com.google.inject.TypeLiteral; 218 return implement(source, TypeLiteral.get(target)); in implement() 222 public <T> FactoryModuleBuilder implement(Class<T> source, TypeLiteral<? extends T> target) { in implement() 223 return implement(TypeLiteral.get(source), target); in implement() 227 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Class<? extends T> target) { in implement() 228 return implement(source, TypeLiteral.get(target)); in implement() 233 TypeLiteral<T> source, TypeLiteral<? extends T> target) { in implement() 240 return implement(source, annotation, TypeLiteral.get(target)); in implement() 245 Class<T> source, Annotation annotation, TypeLiteral<? extends T> target) { in implement() 246 return implement(TypeLiteral.get(source), annotation, target); in implement() [all …]
|
D | FactoryProvider.java | 31 import com.google.inject.TypeLiteral; 174 private final TypeLiteral<F> factoryType; 175 private final TypeLiteral<?> implementationType; 179 return newFactory(TypeLiteral.get(factoryType), TypeLiteral.get(implementationType)); in newFactory() 183 TypeLiteral<F> factoryType, TypeLiteral<?> implementationType) { in newFactory() 214 TypeLiteral<F> factoryType, in FactoryProvider() 215 TypeLiteral<?> implementationType, in FactoryProvider() 270 TypeLiteral<?> factoryType, TypeLiteral<?> implementationType) { in createMethodMapping() 312 for (TypeLiteral<?> parameterType : factoryType.getParameterTypes(method)) { in createMethodMapping()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 61 public class TypeLiteral<T> { class 74 protected TypeLiteral() { in TypeLiteral() method in TypeLiteral 82 TypeLiteral(Type type) { in TypeLiteral() method in TypeLiteral 102 static TypeLiteral<?> fromSuperclassTypeParameter(Class<?> subclass) { in fromSuperclassTypeParameter() 103 return new TypeLiteral<Object>(getSuperclassTypeParameter(subclass)); in fromSuperclassTypeParameter() 122 final TypeLiteral<Provider<T>> providerType() { in providerType() 125 return (TypeLiteral<Provider<T>>) get(Types.providerOf(getType())); in providerType() 135 return o instanceof TypeLiteral<?> && MoreTypes.equals(type, ((TypeLiteral) o).type); in equals() 144 public static TypeLiteral<?> get(Type type) { in get() 145 return new TypeLiteral<Object>(type); in get() [all …]
|
D | Key.java | 54 private final TypeLiteral<T> typeLiteral; 76 (TypeLiteral<T>) TypeLiteral.fromSuperclassTypeParameter(getClass())); in Key() 96 (TypeLiteral<T>) TypeLiteral.fromSuperclassTypeParameter(getClass())); in Key() 115 (TypeLiteral<T>) TypeLiteral.fromSuperclassTypeParameter(getClass())); in Key() 123 this.typeLiteral = MoreTypes.canonicalizeForKey((TypeLiteral<T>) TypeLiteral.get(type)); in Key() 128 private Key(TypeLiteral<T> typeLiteral, AnnotationStrategy annotationStrategy) { in Key() 140 public final TypeLiteral<T> getTypeLiteral() { in getTypeLiteral() 243 public static <T> Key<T> get(TypeLiteral<T> typeLiteral) { in get() 249 TypeLiteral<T> typeLiteral, Class<? extends Annotation> annotationType) { in get() 254 public static <T> Key<T> get(TypeLiteral<T> typeLiteral, Annotation annotation) { in get() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 26 import com.google.inject.TypeLiteral; 50 private static final ImmutableMap<TypeLiteral<?>, TypeLiteral<?>> PRIMITIVE_TO_WRAPPER = 51 new ImmutableMap.Builder<TypeLiteral<?>, TypeLiteral<?>>() 52 .put(TypeLiteral.get(boolean.class), TypeLiteral.get(Boolean.class)) 53 .put(TypeLiteral.get(byte.class), TypeLiteral.get(Byte.class)) 54 .put(TypeLiteral.get(short.class), TypeLiteral.get(Short.class)) 55 .put(TypeLiteral.get(int.class), TypeLiteral.get(Integer.class)) 56 .put(TypeLiteral.get(long.class), TypeLiteral.get(Long.class)) 57 .put(TypeLiteral.get(float.class), TypeLiteral.get(Float.class)) 58 .put(TypeLiteral.get(double.class), TypeLiteral.get(Double.class)) [all …]
|
D | RealMapBinder.java | 29 import com.google.inject.TypeLiteral; 73 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapRealBinder() 88 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newRealMapBinder() 105 TypeLiteral<K> keyType, in newRealMapBinder() 106 TypeLiteral<V> valueType, in newRealMapBinder() 119 static <K, V> TypeLiteral<Map<K, V>> mapOf(TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in mapOf() 120 return (TypeLiteral<Map<K, V>>) in mapOf() 121 TypeLiteral.get(Types.mapOf(keyType.getType(), valueType.getType())); in mapOf() 125 static <K, V> TypeLiteral<Map<K, Provider<V>>> mapOfProviderOf( in mapOfProviderOf() 126 TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in mapOfProviderOf() [all …]
|
D | TypeConverterBindingProcessor.java | 19 import com.google.inject.TypeLiteral; 58 public Object convert(String value, TypeLiteral<?> toType) { in prepareBuiltInConverters() 78 public Object convert(String value, TypeLiteral<?> toType) { in prepareBuiltInConverters() 90 new AbstractMatcher<TypeLiteral<?>>() { in prepareBuiltInConverters() 92 public boolean matches(TypeLiteral<?> typeLiteral) { in prepareBuiltInConverters() 104 public Object convert(String value, TypeLiteral<?> toType) { in prepareBuiltInConverters() 129 public Object convert(String value, TypeLiteral<?> toType) { in convertToPrimitiveType() 160 new AbstractMatcher<TypeLiteral<?>>() { in convertToClasses() 162 public boolean matches(TypeLiteral<?> typeLiteral) { in convertToClasses() 180 InjectorImpl injector, Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter) { in internalConvertToTypes()
|
D | RealOptionalBinder.java | 35 import com.google.inject.TypeLiteral; 119 static <T> TypeLiteral<Optional<T>> optionalOf(TypeLiteral<T> type) { in optionalOf() 120 return (TypeLiteral<Optional<T>>) in optionalOf() 121 TypeLiteral.get(Types.newParameterizedType(Optional.class, type.getType())); in optionalOf() 124 static <T> TypeLiteral<?> javaOptionalOf(TypeLiteral<T> type) { in javaOptionalOf() 126 return TypeLiteral.get(Types.newParameterizedType(JAVA_OPTIONAL_CLASS, type.getType())); in javaOptionalOf() 130 static <T> TypeLiteral<Optional<javax.inject.Provider<T>>> optionalOfJavaxProvider( in optionalOfJavaxProvider() 131 TypeLiteral<T> type) { in optionalOfJavaxProvider() 132 return (TypeLiteral<Optional<javax.inject.Provider<T>>>) in optionalOfJavaxProvider() 133 TypeLiteral.get( in optionalOfJavaxProvider() [all …]
|
D | MembersInjectorStore.java | 23 import com.google.inject.TypeLiteral; 40 private final FailableCache<TypeLiteral<?>, MembersInjectorImpl<?>> cache = 41 new FailableCache<TypeLiteral<?>, MembersInjectorImpl<?>>() { 43 protected MembersInjectorImpl<?> create(TypeLiteral<?> type, Errors errors) 64 public <T> MembersInjectorImpl<T> get(TypeLiteral<T> key, Errors errors) throws ErrorsException { in get() 77 boolean remove(TypeLiteral<?> type) { in remove() 82 private <T> MembersInjectorImpl<T> createWithListeners(TypeLiteral<T> type, Errors errors) in createWithListeners()
|
D | RealMultibinder.java | 20 import com.google.inject.TypeLiteral; 62 static <T> TypeLiteral<Set<T>> setOf(TypeLiteral<T> elementType) { in setOf() 64 return (TypeLiteral<Set<T>>) TypeLiteral.get(type); in setOf() 68 static <T> TypeLiteral<Collection<Provider<T>>> collectionOfProvidersOf( in collectionOfProvidersOf() 69 TypeLiteral<T> elementType) { in collectionOfProvidersOf() 72 return (TypeLiteral<Collection<Provider<T>>>) TypeLiteral.get(type); in collectionOfProvidersOf() 76 static <T> TypeLiteral<Collection<javax.inject.Provider<T>>> collectionOfJavaxProvidersOf( in collectionOfJavaxProvidersOf() 77 TypeLiteral<T> elementType) { in collectionOfJavaxProvidersOf() 81 return (TypeLiteral<Collection<javax.inject.Provider<T>>>) TypeLiteral.get(type); in collectionOfJavaxProvidersOf() 135 TypeLiteral<T> getElementTypeLiteral() { in getElementTypeLiteral() [all …]
|
/external/guice/core/src/com/google/inject/multibindings/ |
D | MapBinder.java | 23 import com.google.inject.TypeLiteral; 101 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapBinder() 112 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType)); in newMapBinder() 120 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newMapBinder() 131 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType), annotation); in newMapBinder() 140 TypeLiteral<K> keyType, in newMapBinder() 141 TypeLiteral<V> valueType, in newMapBinder() 157 binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType), annotationType); in newMapBinder()
|
/external/guice/core/test/com/google/inject/internal/ |
D | MoreTypesTest.java | 19 import com.google.inject.TypeLiteral; 32 TypeLiteral<Inner<String>> innerString = new TypeLiteral<Inner<String>>() {}; in testParameterizedTypeToString() 37 TypeLiteral<Set<Inner<Integer>>> mapInnerInteger = new TypeLiteral<Set<Inner<Integer>>>() {}; in testParameterizedTypeToString() 42 TypeLiteral<Map<Inner<Long>, Set<Inner<Long>>>> mapInnerLongToSetInnerLong = in testParameterizedTypeToString() 43 new TypeLiteral<Map<Inner<Long>, Set<Inner<Long>>>>() {}; in testParameterizedTypeToString() 52 assertTrue(MoreTypes.equals(new TypeLiteral<T>() {}.getType(), type)); in testEquals_typeVariable() 58 ((ParameterizedType) new TypeLiteral<List<?>>() {}.getType()) in testGetRawType_wildcard()
|
/external/guice/core/src/com/google/inject/spi/ |
D | InjectionPoint.java | 29 import com.google.inject.TypeLiteral; 67 private final TypeLiteral<?> declaringType; 70 InjectionPoint(TypeLiteral<?> declaringType, Method method, boolean optional) { in InjectionPoint() 77 InjectionPoint(TypeLiteral<?> declaringType, Constructor<?> constructor) { in InjectionPoint() 85 InjectionPoint(TypeLiteral<?> declaringType, Field field, boolean optional) { in InjectionPoint() 109 Member member, TypeLiteral<?> type, Annotation[][] paramterAnnotations) { in forMember() 115 for (TypeLiteral<?> parameterType : type.getParameterTypes(member)) { in forMember() 180 public TypeLiteral<?> getDeclaringType() { in getDeclaringType() 210 return new InjectionPoint(TypeLiteral.get(constructor.getDeclaringClass()), constructor); in forConstructor() 221 Constructor<T> constructor, TypeLiteral<? extends T> type) { in forConstructor() [all …]
|
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/ |
D | BoundFieldModule.java | 25 import com.google.inject.TypeLiteral; 135 final TypeLiteral<?> type; 146 final TypeLiteral<?> boundType; 157 final Optional<TypeLiteral<?>> naturalType; 159 BoundFieldInfo(Field field, Bind bindAnnotation, TypeLiteral<?> fieldType) { in BoundFieldInfo() 170 private TypeLiteral<?> getBoundType() { in getBoundType() 184 return TypeLiteral.get(bindClass); in getBoundType() 199 private Optional<TypeLiteral<?>> getNaturalFieldType() { in getNaturalFieldType() 208 return Optional.<TypeLiteral<?>>of(TypeLiteral.get(providerTypeArguments[0])); in getNaturalFieldType() 210 return Optional.<TypeLiteral<?>>of(type); in getNaturalFieldType() [all …]
|
/external/guice/core/test/com/google/inject/spi/ |
D | InjectionPointTest.java | 32 import com.google.inject.TypeLiteral; 60 TypeLiteral<?> typeLiteral = TypeLiteral.get(getClass()); in testFieldInjectionPoint() 89 TypeLiteral<?> typeLiteral = TypeLiteral.get(getClass()); in testMethodInjectionPoint() 119 TypeLiteral<?> typeLiteral = TypeLiteral.get(Constructable.class); in testConstructorInjectionPoint() 163 TypeLiteral<HashSet<String>> hashSet = new TypeLiteral<HashSet<String>>() {}; in testForConstructor() 171 InjectionPoint.forConstructor(constructor, new TypeLiteral<LinkedHashSet<String>>() {}); in testForConstructor() 182 InjectionPoint.forConstructor((Constructor) constructor, new TypeLiteral<Set<String>>() {}); in testForConstructor() method 203 TypeLiteral<HasInjections> type = TypeLiteral.get(HasInjections.class); in testAddForInstanceMethodsAndFields() 222 TypeLiteral<HasInjections> type = TypeLiteral.get(HasInjections.class); in testAddForStaticMethodsAndFields() 256 TypeLiteral<?> type = new TypeLiteral<ParameterizedInjections<String>>() {}; in testAddForParameterizedInjections() [all …]
|
D | InjectorSpiTest.java | 10 import com.google.inject.TypeLiteral; 42 assertTrue(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Foo>>() {}))); in testExistingBinding() 43 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Foo>>() {})); in testExistingBinding() 56 injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Baz>>() {}))); in testExistingBinding() 57 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Baz>>() {})); in testExistingBinding() 66 assertNull(injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Bar>>() {}))); in testExistingBinding()
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | CheckedProviderMethodsModuleTest.java | 27 import com.google.inject.TypeLiteral; 39 private final TypeLiteral<RpcProvider<String>> rpcProviderOfString = 40 new TypeLiteral<RpcProvider<String>>() {}; 41 private final TypeLiteral<RpcProvider<Integer>> rpcProviderOfInteger = 42 new TypeLiteral<RpcProvider<Integer>>() {}; 43 private final TypeLiteral<RpcProvider<Long>> rpcProviderOfLong = 44 new TypeLiteral<RpcProvider<Long>>() {}; 45 private final TypeLiteral<RpcProvider<Float>> rpcProviderOfFloat = 46 new TypeLiteral<RpcProvider<Float>>() {}; 47 private final TypeLiteral<RpcProvider<Pair<Double, String>>> rpcProviderOfPair = [all …]
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | ThrowingProviderBinder.java | 31 import com.google.inject.TypeLiteral; 89 private static final TypeLiteral<CheckedProvider<?>> CHECKED_PROVIDER_TYPE = 90 new TypeLiteral<CheckedProvider<?>>() {}; 92 private static final TypeLiteral<CheckedProviderMethod<?>> CHECKED_PROVIDER_METHOD_TYPE = 93 new TypeLiteral<CheckedProviderMethod<?>>() {}; 131 Class<P> interfaceType, TypeLiteral<T> typeLiteral) { in bind() 205 return providing(TypeLiteral.get(cxtorClass)); in providing() 210 public ScopedBindingBuilder providing(TypeLiteral<? extends T> cxtorLiteral) { in providing() 386 List<TypeLiteral<?>> exceptionLiterals = 387 TypeLiteral.get(interfaceType).getExceptionTypes(getMethod); [all …]
|
D | CheckedProviderMethodsModule.java | 27 import com.google.inject.TypeLiteral; 50 private final TypeLiteral<?> typeLiteral; 54 this.typeLiteral = TypeLiteral.get(this.delegate.getClass()); in CheckedProviderMethodsModule() 97 List<TypeLiteral<?>> parameterTypes = typeLiteral.getParameterTypes(method); in createProviderMethod() 114 TypeLiteral<T> returnType = (TypeLiteral<T>) typeLiteral.getReturnType(method); in createProviderMethod() 115 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod() 137 <T> Key<T> getKey(Errors errors, TypeLiteral<T> type, Member member, Annotation[] annotations) { in getKey()
|