Searched refs:cxtor (Results 1 - 4 of 4) sorted by relevance

/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
H A DCheckedProvideUtils.java47 Constructor<?> cxtor = null;
50 if (cxtor != null) {
55 cxtor = constructor;
57 errors, cxtor, ((AnnotatedElement) cxtor).getAnnotations());
59 errors.misplacedBindingAnnotation(cxtor, misplacedBindingAnnotation);
64 if (cxtor == null) {
72 return (Constructor<? extends T>) cxtor;
H A DThrowingProviderBinder.java214 @SuppressWarnings("unchecked") // safe because this is the cxtor of the literal
217 Constructor<? extends T> cxtor =
222 // If we found an injection point, then bind the cxtor to a unique key
223 if (cxtor != null) {
226 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType);
229 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE);
237 // Create a CheckedProvider that calls our cxtor
/external/guice/core/src/com/google/inject/internal/
H A DConstructorBindingImpl.java129 private static boolean hasAtInject(Constructor cxtor) { argument
130 return cxtor.isAnnotationPresent(Inject.class)
131 || cxtor.isAnnotationPresent(javax.inject.Inject.class);
/external/guice/core/test/com/google/inject/
H A DDuplicateBindingsTest.java50 private Constructor<FooImpl> cFoo = FooImpl.cxtor();
161 (Class)BarProvider.class, (Class)Bar.class, (Constructor)Bar.cxtor())
503 private static Constructor<FooImpl> cxtor() { method in class:DuplicateBindingsTest.FooImpl
522 private static Constructor<Bar> cxtor() { method in class:DuplicateBindingsTest.Bar

Completed in 102 milliseconds