/external/guice/core/src/com/google/inject/ |
Key.java | 47 * TypeLiteral}. 59 private final TypeLiteral<T> typeLiteral; 78 this.typeLiteral = MoreTypes.canonicalizeForKey( 79 (TypeLiteral<T>) TypeLiteral.fromSuperclassTypeParameter(getClass())); 100 this.typeLiteral = MoreTypes.canonicalizeForKey( 101 (TypeLiteral<T>) TypeLiteral.fromSuperclassTypeParameter(getClass())); 120 this.typeLiteral = MoreTypes.canonicalizeForKey [all...] |
Binder.java | 120 * bind(new TypeLiteral<PaymentService<CreditCard>>() {}) 244 <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral); 264 <T> void requestInjection(TypeLiteral<T> type, T instance); 355 * @param typeLiteral type to get members injector for 358 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); 379 void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, 390 void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
|
Injector.java | 77 * @param typeLiteral type to get members injector for 78 * @see Binder#getMembersInjector(TypeLiteral) for an alternative that offers up front error 82 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); 86 * of the given type {@code T}. When feasible, use {@link Binder#getMembersInjector(TypeLiteral)} 162 <T> List<Binding<T>> findBindingsByType(TypeLiteral<T> type);
|
AbstractModule.java | 98 * @see Binder#bind(TypeLiteral) 100 protected <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral) { 101 return binder().bind(typeLiteral); 219 protected void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, 241 * @see Binder#getMembersInjector(TypeLiteral) 244 protected <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> type) { 253 protected void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
|
PrivateModule.java | 131 protected final AnnotatedElementBuilder expose(TypeLiteral<?> type) { 160 * @see Binder#bind(TypeLiteral) 162 protected final <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral) { 163 return binder().bind(typeLiteral); 264 protected final void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, 284 * @see Binder#getMembersInjector(TypeLiteral) 286 protected <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> type) { 293 protected void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
|
/external/guice/core/src/com/google/inject/internal/ |
MembersInjectorImpl.java | 23 import com.google.inject.TypeLiteral; 34 private final TypeLiteral<T> typeLiteral; 43 MembersInjectorImpl(InjectorImpl injector, TypeLiteral<T> typeLiteral, 46 this.typeLiteral = typeLiteral; 60 Errors errors = new Errors(typeLiteral); 62 injectAndNotify(instance, errors, null, null, typeLiteral, false); 121 errors.errorNotifyingInjectionListener(injectionListener, typeLiteral, e) [all...] |
TypeConverterBindingProcessor.java | 19 import com.google.inject.TypeLiteral; 55 public Object convert(String value, TypeLiteral<?> toType) { 70 public Object convert(String value, TypeLiteral<?> toType) { 79 internalConvertToTypes(injector, new AbstractMatcher<TypeLiteral<?>>() { 80 public boolean matches(TypeLiteral<?> typeLiteral) { 81 return typeLiteral.getRawType() == Class.class; 90 public Object convert(String value, TypeLiteral<?> toType) { 113 public Object convert(String value, TypeLiteral<?> toType) { 141 internalConvertToTypes(injector, new AbstractMatcher<TypeLiteral<?>>() [all...] |
ProviderMethodsModule.java | 31 import com.google.inject.TypeLiteral; 70 private final TypeLiteral<?> typeLiteral; 77 this.typeLiteral = TypeLiteral.get(this.delegate.getClass()); 213 List<TypeLiteral<?>> resolvedParameterTypes = typeLiteral.getParameterTypes(method); 216 for (TypeLiteral<?> type : resolvedParameterTypes) { 255 InjectionPoint point = InjectionPoint.forMethod(method, typeLiteral); 263 TypeLiteral<T> returnType = (TypeLiteral<T>) typeLiteral.getReturnType(method) [all...] |
EncounterImpl.java | 27 import com.google.inject.TypeLiteral; 136 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { 138 return lookups.getMembersInjector(typeLiteral); 142 return getMembersInjector(TypeLiteral.get(type));
|
MoreTypes.java | 27 import com.google.inject.TypeLiteral; 54 private static final Map<TypeLiteral<?>, TypeLiteral<?>> PRIMITIVE_TO_WRAPPER 55 = new ImmutableMap.Builder<TypeLiteral<?>, TypeLiteral<?>>() 56 .put(TypeLiteral.get(boolean.class), TypeLiteral.get(Boolean.class)) 57 .put(TypeLiteral.get(byte.class), TypeLiteral.get(Byte.class)) 58 .put(TypeLiteral.get(short.class), TypeLiteral.get(Short.class) [all...] |
InternalInjectorCreator.java | 29 import com.google.inject.TypeLiteral; 264 public <T> List<Binding<T>> findBindingsByType(TypeLiteral<T> type) { 290 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { 292 "Injector.getMembersInjector(TypeLiteral<T>) is not supported in Stage.TOOL");
|
InjectorImpl.java | 39 import com.google.inject.TypeLiteral; 68 public static final TypeLiteral<String> STRING_TYPE = TypeLiteral.get(String.class); 147 public <T> List<Binding<T>> findBindingsByType(TypeLiteral<T> type) { 292 return key.getTypeLiteral().getRawType().equals(TypeLiteral.class); 324 TypeLiteral<T> instanceType = (TypeLiteral<T>) TypeLiteral.get( 426 TypeLiteral<T> type = key.getTypeLiteral(); 636 // Handle TypeLiteral<T> by binding the inner typ [all...] |
/external/guice/core/test/com/google/inject/spi/ |
InjectionPointTest.java | 31 import com.google.inject.TypeLiteral; 60 TypeLiteral<?> typeLiteral = TypeLiteral.get(getClass()); 63 InjectionPoint injectionPoint = new InjectionPoint(typeLiteral, fooField, false); 67 assertEqualsBothWays(injectionPoint, new InjectionPoint(typeLiteral, fooField, false)); 79 getOnlyElement(new InjectionPoint(typeLiteral, fooField, false).getDependencies())); 83 TypeLiteral<?> typeLiteral = TypeLiteral.get(getClass()) [all...] |
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
CheckedProvideUtils.java | 20 import com.google.inject.TypeLiteral; 41 @SuppressWarnings("unchecked") // safe because it's a constructor of the typeLiteral 43 TypeLiteral<? extends T> typeLiteral, Binder binder) { 45 Class<?> rawType = typeLiteral.getRawType(); 77 Iterable<TypeLiteral<?>> actualExceptionTypes, 82 for (TypeLiteral<?> exType : actualExceptionTypes) {
|
CheckedProviderMethodsModule.java | 27 import com.google.inject.TypeLiteral; 51 private final TypeLiteral<?> typeLiteral; 55 this.typeLiteral = TypeLiteral.get(this.delegate.getClass()); 99 List<TypeLiteral<?>> parameterTypes = typeLiteral.getParameterTypes(method); 116 TypeLiteral<T> returnType = (TypeLiteral<T>) typeLiteral.getReturnType(method) [all...] |
ThrowingProviderBinder.java | 32 import com.google.inject.TypeLiteral; 88 private static final TypeLiteral<CheckedProvider<?>> CHECKED_PROVIDER_TYPE 89 = new TypeLiteral<CheckedProvider<?>>() { }; 91 private static final TypeLiteral<CheckedProviderMethod<?>> CHECKED_PROVIDER_METHOD_TYPE 92 = new TypeLiteral<CheckedProviderMethod<?>>() { }; 116 * @deprecated Use {@link #bind(Class, Class)} or {@link #bind(Class, TypeLiteral)} instead. 136 bind(Class<P> interfaceType, TypeLiteral<T> typeLiteral) { 137 return new SecondaryBinder<P, T>(interfaceType, typeLiteral.getType()); 210 return providing(TypeLiteral.get(cxtorClass)) [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
Indexer.java | 24 import com.google.inject.TypeLiteral; 60 final TypeLiteral<?> typeLiteral; 69 this.typeLiteral = binding.getKey().getTypeLiteral(); 82 && typeLiteral.equals(o.typeLiteral) 89 return Objects.hashCode(type, scope, typeLiteral, annotationType, annotationName,
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
ShortNameFactory.java | 22 import com.google.inject.TypeLiteral; 70 TypeLiteral<?> typeLiteral = key.getTypeLiteral(); 71 return stripPackages(typeLiteral.toString());
|
/external/guice/core/src/com/google/inject/spi/ |
TypeEncounter.java | 22 import com.google.inject.TypeLiteral; 30 * an encounter after the {@link TypeListener#hear(TypeLiteral, TypeEncounter) hear()} method has 78 * @param typeLiteral type to get members injector for 80 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral);
|
Elements.java | 37 import com.google.inject.TypeLiteral; 241 requestInjection((TypeLiteral<Object>) TypeLiteral.get(instance.getClass()), instance); 245 public <T> void requestInjection(TypeLiteral<T> type, T instance) { 251 public <T> MembersInjector<T> getMembersInjector(final TypeLiteral<T> typeLiteral) { 253 MoreTypes.canonicalizeForKey(typeLiteral)); 259 return getMembersInjector(TypeLiteral.get(type)); 262 public void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener) { 380 public <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral) [all...] |
/external/guice/core/test/com/google/inject/ |
KeyTest.java | 65 Key<List<String>> b = Key.get(new TypeLiteral<List<String>>() {}, Foo.class); 129 TypeLiteral<Integer> intTypeLiteral = TypeLiteral.get(int.class); 140 assertNotSerializable(Key.get(new TypeLiteral<Map<List<B>, B>>() {})); 141 assertNotSerializable(Key.get(new TypeLiteral<List<B[]>>() {})); 179 TypeLiteral<?> listOfT = TypeLiteral.get(listOfTType); 189 TypeLiteral<?> t = TypeLiteral.get(tType); 200 TypeLiteral<Integer> typeLiteral = KeyTest.createTypeLiteral() [all...] |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
sisu-guice-3.1.3-no_aop.jar | |
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/ |
sisu-guice-3.1.0-no_aop.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/ |
sisu-guice-2.1.7-noaop.jar | |
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/ |
sisu-guice-2.1.7-noaop.jar | |