Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/name/
DNamedEquivalanceTest.java51 assertEquals(keyForAnnotation(new GuiceNamed("foo")), keyForAnnotation(new JsrNamed("foo"))); in testKeysCreatedWithDifferentTypesAreEqual()
52 assertEquals(keyForAnnotation(Names.named("foo")), keyForAnnotation(new GuiceNamed("foo"))); in testKeysCreatedWithDifferentTypesAreEqual()
53 assertEquals(keyForAnnotation(Names.named("foo")), keyForAnnotation(new JsrNamed("foo"))); in testKeysCreatedWithDifferentTypesAreEqual()
59 private static Key<String> keyForAnnotation(Annotation annotation) { in keyForAnnotation() method in NamedEquivalanceTest