/external/guice/core/src/com/google/inject/ |
D | Key.java | 59 private final TypeLiteral<T> typeLiteral; field in Key 78 this.typeLiteral = MoreTypes.canonicalizeForKey( in Key() 100 this.typeLiteral = MoreTypes.canonicalizeForKey( in Key() 120 this.typeLiteral = MoreTypes.canonicalizeForKey( in Key() 132 this.typeLiteral = MoreTypes.canonicalizeForKey((TypeLiteral<T>) TypeLiteral.get(type)); in Key() 138 private Key(TypeLiteral<T> typeLiteral, AnnotationStrategy annotationStrategy) { in Key() argument 140 this.typeLiteral = MoreTypes.canonicalizeForKey(typeLiteral); in Key() 149 return typeLiteral.hashCode() * 31 + annotationStrategy.hashCode(); in computeHashCode() 160 return "Key[type=" + typeLiteral + ", annotation=" + annotationStrategy + "]"; in createToStringSupplier() 169 return typeLiteral; [all …]
|
D | Binder.java | 244 <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral); in bind() argument 358 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector() argument
|
D | AbstractModule.java | 100 protected <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral) { in bind() argument 101 return binder().bind(typeLiteral); in bind()
|
D | PrivateModule.java | 162 protected final <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral) { in bind() argument 163 return binder().bind(typeLiteral); in bind()
|
D | Injector.java | 82 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector() argument
|
/external/guice/core/src/com/google/inject/internal/ |
D | MembersInjectorImpl.java | 34 private final TypeLiteral<T> typeLiteral; field in MembersInjectorImpl 43 MembersInjectorImpl(InjectorImpl injector, TypeLiteral<T> typeLiteral, in MembersInjectorImpl() argument 46 this.typeLiteral = typeLiteral; in MembersInjectorImpl() 60 Errors errors = new Errors(typeLiteral); in injectMembers() 62 injectAndNotify(instance, errors, null, null, typeLiteral, false); in injectMembers() 121 errors.errorNotifyingInjectionListener(injectionListener, typeLiteral, e); in notifyListeners() 142 errors.errorInUserInjector(userMembersInjector, typeLiteral, e); in injectMembers() 149 return "MembersInjector<" + typeLiteral + ">"; in toString()
|
D | TypeConverterBindingProcessor.java | 80 public boolean matches(TypeLiteral<?> typeLiteral) { in prepareBuiltInConverters() 81 return typeLiteral.getRawType() == Class.class; in prepareBuiltInConverters() 142 public boolean matches(TypeLiteral<?> typeLiteral) { in convertToClasses() 143 Type type = typeLiteral.getType(); in convertToClasses()
|
D | MoreTypes.java | 96 public static <T> TypeLiteral<T> canonicalizeForKey(TypeLiteral<T> typeLiteral) { in canonicalizeForKey() argument 97 Type type = typeLiteral.getType(); in canonicalizeForKey() 99 Errors errors = new Errors().keyNotFullySpecified(typeLiteral); in canonicalizeForKey() 103 if (typeLiteral.getRawType() == javax.inject.Provider.class) { in canonicalizeForKey() 115 TypeLiteral<T> wrappedPrimitives = (TypeLiteral<T>) PRIMITIVE_TO_WRAPPER.get(typeLiteral); in canonicalizeForKey() 121 if (typeLiteral.getClass() == TypeLiteral.class) { in canonicalizeForKey() 122 return typeLiteral; in canonicalizeForKey() 128 TypeLiteral<T> recreated = (TypeLiteral<T>) TypeLiteral.get(typeLiteral.getType()); in canonicalizeForKey()
|
D | ProviderMethodsModule.java | 70 private final TypeLiteral<?> typeLiteral; field in ProviderMethodsModule 77 this.typeLiteral = TypeLiteral.get(this.delegate.getClass()); in ProviderMethodsModule() 213 List<TypeLiteral<?>> resolvedParameterTypes = typeLiteral.getParameterTypes(method); in Signature() 255 InjectionPoint point = InjectionPoint.forMethod(method, typeLiteral); in createProviderMethod() 263 TypeLiteral<T> returnType = (TypeLiteral<T>) typeLiteral.getReturnType(method); in createProviderMethod()
|
D | EncounterImpl.java | 136 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { in getMembersInjector() argument 138 return lookups.getMembersInjector(typeLiteral); in getMembersInjector()
|
D | InternalInjectorCreator.java | 290 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { in getMembersInjector() argument
|
D | InjectorImpl.java | 987 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { 988 Errors errors = new Errors(typeLiteral); 990 return membersInjectorStore.get(typeLiteral, errors);
|
D | Errors.java | 395 public Errors keyNotFullySpecified(TypeLiteral<?> typeLiteral) { in keyNotFullySpecified() argument 396 return addMessage("%s cannot be used as a key; It is not fully specified.", typeLiteral); in keyNotFullySpecified()
|
/external/guice/core/test/com/google/inject/spi/ |
D | InjectionPointTest.java | 60 TypeLiteral<?> typeLiteral = TypeLiteral.get(getClass()); in testFieldInjectionPoint() local 63 InjectionPoint injectionPoint = new InjectionPoint(typeLiteral, fooField, false); in testFieldInjectionPoint() 67 assertEqualsBothWays(injectionPoint, new InjectionPoint(typeLiteral, fooField, false)); in testFieldInjectionPoint() 79 getOnlyElement(new InjectionPoint(typeLiteral, fooField, false).getDependencies())); in testFieldInjectionPoint() 83 TypeLiteral<?> typeLiteral = TypeLiteral.get(getClass()); in testMethodInjectionPoint() local 86 InjectionPoint injectionPoint = new InjectionPoint(typeLiteral, barMethod, false); in testMethodInjectionPoint() 90 assertEqualsBothWays(injectionPoint, new InjectionPoint(typeLiteral, barMethod, false)); in testMethodInjectionPoint() 102 getOnlyElement(new InjectionPoint(typeLiteral, barMethod, false).getDependencies())); in testMethodInjectionPoint() 107 TypeLiteral<?> typeLiteral = TypeLiteral.get(Constructable.class); in testConstructorInjectionPoint() local 110 InjectionPoint injectionPoint = new InjectionPoint(typeLiteral, constructor); in testConstructorInjectionPoint() [all …]
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProviderMethodsModule.java | 51 private final TypeLiteral<?> typeLiteral; field in CheckedProviderMethodsModule 55 this.typeLiteral = TypeLiteral.get(this.delegate.getClass()); in CheckedProviderMethodsModule() 99 List<TypeLiteral<?>> parameterTypes = typeLiteral.getParameterTypes(method); in createProviderMethod() 116 TypeLiteral<T> returnType = (TypeLiteral<T>) typeLiteral.getReturnType(method); in createProviderMethod() 117 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod()
|
D | ThrowingProviderBinder.java | 136 bind(Class<P> interfaceType, TypeLiteral<T> typeLiteral) { in bind() argument 137 return new SecondaryBinder<P, T>(interfaceType, typeLiteral.getType()); in bind() 499 TypeLiteral<P> typeLiteral; 503 typeLiteral = (TypeLiteral<P>) TypeLiteral.get(type); 505 typeLiteral = TypeLiteral.get(interfaceType); 509 return Key.get(typeLiteral, annotation); 512 return Key.get(typeLiteral, annotationType); 515 return Key.get(typeLiteral);
|
D | CheckedProvideUtils.java | 43 TypeLiteral<? extends T> typeLiteral, Binder binder) { in findThrowingConstructor() argument 45 Class<?> rawType = typeLiteral.getRawType(); in findThrowingConstructor()
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | Indexer.java | 60 final TypeLiteral<?> typeLiteral; field in Indexer.IndexedBinding 69 this.typeLiteral = binding.getKey().getTypeLiteral(); in IndexedBinding() 82 && typeLiteral.equals(o.typeLiteral) in equals() 89 return Objects.hashCode(type, scope, typeLiteral, annotationType, annotationName, in hashCode()
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | ShortNameFactory.java | 70 TypeLiteral<?> typeLiteral = key.getTypeLiteral(); in getClassName() local 71 return stripPackages(typeLiteral.toString()); in getClassName()
|
/external/guice/core/src/com/google/inject/spi/ |
D | Elements.java | 251 public <T> MembersInjector<T> getMembersInjector(final TypeLiteral<T> typeLiteral) { in getMembersInjector() argument 253 MoreTypes.canonicalizeForKey(typeLiteral)); in getMembersInjector() 380 public <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral) { in bind() argument 381 return bind(Key.get(typeLiteral)); in bind()
|
D | TypeEncounter.java | 80 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector() argument
|
/external/guice/core/test/com/google/inject/ |
D | KeyTest.java | 200 TypeLiteral<Integer> typeLiteral = KeyTest.createTypeLiteral(); in testCannotGetKeyWithUnspecifiedTypeVariables() local 202 Key.get(typeLiteral); in testCannotGetKeyWithUnspecifiedTypeVariables()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider2.java | 440 private boolean isTypeNotSpecified(TypeLiteral<?> typeLiteral, ConfigurationException ce) { in isTypeNotSpecified() argument 444 new Errors().keyNotFullySpecified(typeLiteral).getMessages()); in isTypeNotSpecified()
|
/external/testng/lib-supplied/ |
D | guice-2.0.jar | META-INF/
META-INF/MANIFEST.MF
LICENSE
NOTICE
org/
org/testng/
... |
/external/guice/extensions/struts2/lib/ |
D | core-3.1.1.jar | META-INF/
org/
org/eclipse/
org/eclipse/jdt/
org/eclipse ... |