OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scopeAnnotation
(Results
1 - 19
of
19
) sorted by null
/external/guice/core/src/com/google/inject/binder/
ScopedBindingBuilder.java
30
void in(Class<? extends Annotation>
scopeAnnotation
);
/external/guice/core/src/com/google/inject/spi/
BindingScopingVisitor.java
45
V visitScopeAnnotation(Class<? extends Annotation>
scopeAnnotation
);
DefaultBindingScopingVisitor.java
49
public V visitScopeAnnotation(Class<? extends Annotation>
scopeAnnotation
) {
/external/guice/core/test/com/google/inject/spi/
FailingBindingScopingVisitor.java
36
public Void visitScopeAnnotation(Class<? extends Annotation>
scopeAnnotation
) {
/external/guice/core/src/com/google/inject/
Scopes.java
69
public Boolean visitScopeAnnotation(Class<? extends Annotation>
scopeAnnotation
) {
70
return
scopeAnnotation
== Singleton.class
71
||
scopeAnnotation
== javax.inject.Singleton.class;
128
* @param
scopeAnnotation
scope annotation class
132
Binding<?> binding, final Scope scope, final Class<? extends Annotation>
scopeAnnotation
) {
144
return visitedAnnotation ==
scopeAnnotation
;
AbstractModule.java
77
protected void bindScope(Class<? extends Annotation>
scopeAnnotation
, Scope scope) {
78
binder().bindScope(
scopeAnnotation
, scope);
PrivateModule.java
145
protected final void bindScope(Class<? extends Annotation>
scopeAnnotation
, Scope scope) {
146
binder().bindScope(
scopeAnnotation
, scope);
/external/guice/core/src/com/google/inject/internal/
ProviderMethod.java
62
Class<? extends Annotation>
scopeAnnotation
,
72
key, fc, method, instance, dependencies,
scopeAnnotation
, annotation);
86
key, method, instance, dependencies,
scopeAnnotation
, annotation);
93
private final Class<? extends Annotation>
scopeAnnotation
;
109
Class<? extends Annotation>
scopeAnnotation
,
115
this.
scopeAnnotation
=
scopeAnnotation
;
151
if (
scopeAnnotation
!= null) {
152
binder.bind(key).toProvider(this).in(
scopeAnnotation
);
253
Class<? extends Annotation>
scopeAnnotation
,
[
all
...]
AbstractBindingBuilder.java
87
public void in(final Class<? extends Annotation>
scopeAnnotation
) {
88
checkNotNull(
scopeAnnotation
, "
scopeAnnotation
");
90
setBinding(getBinding().withScoping(Scoping.forAnnotation(
scopeAnnotation
)));
Scoping.java
309
Class<? extends Annotation>
scopeAnnotation
= scoping.getScopeAnnotation();
310
if (
scopeAnnotation
== null) {
314
ScopeBinding scope = injector.state.getScopeBinding(
scopeAnnotation
);
319
errors.scopeNotFound(
scopeAnnotation
);
ConstructorBindingImpl.java
127
Class<? extends Annotation>
scopeAnnotation
= findScopeAnnotation(errors, annotatedType);
128
if (
scopeAnnotation
!= null) {
131
Scoping.forAnnotation(
scopeAnnotation
), injector, errors.withSource(rawType));
Indexer.java
187
public Object visitScopeAnnotation(Class<? extends Annotation>
scopeAnnotation
) {
188
return
scopeAnnotation
;
Annotations.java
32
import com.google.inject.
ScopeAnnotation
;
279
new AnnotationChecker(Arrays.asList(
ScopeAnnotation
.class, javax.inject.Scope.class));
295
Class<? extends Annotation>
scopeAnnotation
= findScopeAnnotation(errors, type);
296
if (
scopeAnnotation
!= null
299
errors.withSource(type).scopeAnnotationOnAbstractType(
scopeAnnotation
, type, source);
Errors.java
333
return addMessage(format("Please annotate %s with @
ScopeAnnotation
.", annotation));
346
public Errors scopeNotFound(Class<? extends Annotation>
scopeAnnotation
) {
347
return addMessage("No scope is bound to %s.",
scopeAnnotation
);
351
Class<? extends Annotation>
scopeAnnotation
, Class<?> type, Object source) {
355
type,
scopeAnnotation
, convert(source));
ProviderMethodsModule.java
267
Class<? extends Annotation>
scopeAnnotation
=
277
scopeAnnotation
,
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethod.java
44
private final Class<? extends Annotation>
scopeAnnotation
;
60
Class<? extends Annotation>
scopeAnnotation
,
65
this.
scopeAnnotation
=
scopeAnnotation
;
90
if (
scopeAnnotation
!= null) {
91
sbbuilder.in(
scopeAnnotation
);
CheckedProviderMethodsModule.java
118
Class<? extends Annotation>
scopeAnnotation
=
131
scopeAnnotation
,
/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/testng/lib-supplied/
guice-2.0.jar
Completed in 559 milliseconds