Home
last modified time | relevance | path

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

/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProvideUtils.java47 Constructor<?> cxtor = null; in findThrowingConstructor() local
50 if (cxtor != null) { in findThrowingConstructor()
55 cxtor = constructor; in findThrowingConstructor()
57 errors, cxtor, ((AnnotatedElement) cxtor).getAnnotations()); in findThrowingConstructor()
59 errors.misplacedBindingAnnotation(cxtor, misplacedBindingAnnotation); in findThrowingConstructor()
64 if (cxtor == null) { in findThrowingConstructor()
72 return (Constructor<? extends T>) cxtor; in findThrowingConstructor()
DThrowingProviderBinder.java217 Constructor<? extends T> cxtor = in providing() local
223 if (cxtor != null) { in providing()
226 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType); in providing()
229 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
/external/guice/core/src/com/google/inject/internal/
DConstructorBindingImpl.java129 private static boolean hasAtInject(Constructor cxtor) { in hasAtInject() argument
130 return cxtor.isAnnotationPresent(Inject.class) in hasAtInject()
131 || cxtor.isAnnotationPresent(javax.inject.Inject.class); in hasAtInject()
/external/guice/core/test/com/google/inject/
DDuplicateBindingsTest.java50 private Constructor<FooImpl> cFoo = FooImpl.cxtor();
161 (Class)BarProvider.class, (Class)Bar.class, (Constructor)Bar.cxtor()) in testMixedTargetsFails()
503 private static Constructor<FooImpl> cxtor() { in cxtor() method in DuplicateBindingsTest.FooImpl
522 private static Constructor<Bar> cxtor() { in cxtor() method in DuplicateBindingsTest.Bar