HomeSort by relevance Sort by last modified time
    Searched refs:scopeAnnotation (Results 1 - 24 of 24) sorted by null

  /external/guice/core/src/com/google/inject/binder/
ScopedBindingBuilder.java 33 void in(Class<? extends Annotation> scopeAnnotation);
  /external/guice/core/src/com/google/inject/spi/
BindingScopingVisitor.java 48 V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation);
DefaultBindingScopingVisitor.java 50 public V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) {
  /external/guice/core/test/com/google/inject/spi/
FailingBindingScopingVisitor.java 35 public Void visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) {
  /external/guice/core/src/com/google/inject/
Scopes.java 68 public Boolean visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) {
69 return scopeAnnotation == Singleton.class
70 || scopeAnnotation == javax.inject.Singleton.class;
126 * @param scopeAnnotation scope annotation class
130 final Class<? extends Annotation> scopeAnnotation) {
138 return visitedAnnotation == scopeAnnotation;
AbstractModule.java 85 protected void bindScope(Class<? extends Annotation> scopeAnnotation,
87 binder().bindScope(scopeAnnotation, scope);
PrivateModule.java 148 protected final void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) {
149 binder().bindScope(scopeAnnotation, scope);
  /external/guice/core/src/com/google/inject/internal/
ProviderMethod.java 63 Class<? extends Annotation> scopeAnnotation, boolean skipFastClassGeneration,
76 scopeAnnotation,
92 scopeAnnotation,
100 private final Class<? extends Annotation> scopeAnnotation;
111 Class<? extends Annotation> scopeAnnotation, Annotation annotation) {
113 this.scopeAnnotation = scopeAnnotation;
150 if (scopeAnnotation != null) {
151 binder.bind(key).toProvider(this).in(scopeAnnotation);
246 Class<? extends Annotation> scopeAnnotation,
    [all...]
AbstractBindingBuilder.java 88 public void in(final Class<? extends Annotation> scopeAnnotation) {
89 checkNotNull(scopeAnnotation, "scopeAnnotation");
91 setBinding(getBinding().withScoping(Scoping.forAnnotation(scopeAnnotation)));
Scoping.java 253 Class<? extends Annotation> scopeAnnotation = scoping.getScopeAnnotation();
254 if (scopeAnnotation == null) {
258 ScopeBinding scope = injector.state.getScopeBinding(scopeAnnotation);
263 errors.scopeNotFound(scopeAnnotation);
Annotations.java 30 import com.google.inject.ScopeAnnotation;
253 Arrays.asList(ScopeAnnotation.class, javax.inject.Scope.class));
269 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, type);
270 if (scopeAnnotation != null
273 errors.withSource(type).scopeAnnotationOnAbstractType(scopeAnnotation, type, source);
ConstructorBindingImpl.java 111 Class<? extends Annotation> scopeAnnotation = findScopeAnnotation(errors, annotatedType);
112 if (scopeAnnotation != null) {
113 scoping = Scoping.makeInjectable(Scoping.forAnnotation(scopeAnnotation),
ProviderMethodsModule.java 270 Class<? extends Annotation> scopeAnnotation
276 parameterProviders, scopeAnnotation, skipFastClassGeneration, annotation);
Errors.java 226 return addMessage(format("Please annotate %s with @ScopeAnnotation.", annotation));
238 public Errors scopeNotFound(Class<? extends Annotation> scopeAnnotation) {
239 return addMessage("No scope is bound to %s.", scopeAnnotation);
243 Class<? extends Annotation> scopeAnnotation, Class<?> type, Object source) {
245 + "for abstract types.%n Bound at %s.", type, scopeAnnotation, convert(source));
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethod.java 45 private final Class<? extends Annotation> scopeAnnotation;
61 Class<? extends Annotation> scopeAnnotation,
66 this.scopeAnnotation = scopeAnnotation;
92 if(scopeAnnotation != null) {
93 sbbuilder.in(scopeAnnotation);
CheckedProviderMethodsModule.java 120 Class<? extends Annotation> scopeAnnotation
128 parameterProviders, scopeAnnotation, throwingProvider, exceptionTypes,
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
Scope.java 69 Optional<AnnotationMirror> scopeAnnotation = getScopeAnnotation(element);
70 return scopeAnnotation.isPresent() ? new Scope(scopeAnnotation.get()) : UNSCOPED;
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Indexer.java 166 @Override public Object visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) {
167 return scopeAnnotation;
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/
sisu-guice-3.1.0-no_aop.jar 
sisu-guice-3.1.0.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /external/testng/lib-supplied/
guice-2.0.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/
sisu-inject-bean-1.4.2.jar 
  /prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.7/
dagger-compiler-2.7.jar 

Completed in 273 milliseconds