OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SampleAnnotation
(Results
1 - 2
of
2
) sorted by null
/external/guice/core/test/com/google/inject/spi/
ElementSourceTest.java
49
if (annotationType != null && annotationType.equals(
SampleAnnotation
.class)) {
167
@interface
SampleAnnotation
{ }
172
bind(String.class).annotatedWith(
SampleAnnotation
.class).toInstance("the value");
ElementsTest.java
160
bindConstant().annotatedWith(
SampleAnnotation
.class).to("A");
168
assertEquals(Key.get(String.class,
SampleAnnotation
.class), command.getKey());
329
assertEquals(Key.get(String.class,
SampleAnnotation
.class), command.getKey());
337
bind(String.class).annotatedWith(
SampleAnnotation
.class).toInstance("A");
338
bind(new TypeLiteral<String>() {}).annotatedWith(
SampleAnnotation
.class).toInstance("B");
507
bind(Set.class).to(Key.get(TreeSet.class,
SampleAnnotation
.class));
546
assertEquals(Key.get(TreeSet.class,
SampleAnnotation
.class),
723
bindScope(
SampleAnnotation
.class, Scopes.NO_SCOPE);
729
assertSame(
SampleAnnotation
.class, command.getAnnotationType());
791
= getProvider(Key.get(String.class,
SampleAnnotation
.class))
[
all
...]
Completed in 69 milliseconds