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.java46 Constructor<?> cxtor = null; in findThrowingConstructor() local
49 if (cxtor != null) { in findThrowingConstructor()
56 cxtor = constructor; in findThrowingConstructor()
59 errors, cxtor, ((AnnotatedElement) cxtor).getAnnotations()); in findThrowingConstructor()
61 errors.misplacedBindingAnnotation(cxtor, misplacedBindingAnnotation); in findThrowingConstructor()
66 if (cxtor == null) { in findThrowingConstructor()
74 return (Constructor<? extends T>) cxtor; in findThrowingConstructor()
DThrowingProviderBinder.java212 Constructor<? extends T> cxtor = in providing() local
218 if (cxtor != null) { in providing()
221 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType); in providing()
224 binder.bind(typeKey).toConstructor((Constructor) cxtor).in(Scopes.NO_SCOPE); in providing()
/external/guice/core/src/com/google/inject/internal/
DConstructorBindingImpl.java146 private static boolean hasAtInject(Constructor cxtor) { in hasAtInject() argument
147 return cxtor.isAnnotationPresent(Inject.class) in hasAtInject()
148 || cxtor.isAnnotationPresent(javax.inject.Inject.class); in hasAtInject()
/external/guice/core/test/com/google/inject/
DDuplicateBindingsTest.java48 private Constructor<FooImpl> cFoo = FooImpl.cxtor();
194 (Constructor) Bar.cxtor())); in testMixedTargetsFails()
621 private static Constructor<FooImpl> cxtor() { in cxtor() method in DuplicateBindingsTest.FooImpl
643 private static Constructor<Bar> cxtor() { in cxtor() method in DuplicateBindingsTest.Bar