/external/guice/core/src/com/google/inject/ |
D | Key.java | 175 public final Class<? extends Annotation> getAnnotationType() { 176 return annotationStrategy.getAnnotationType(); 187 return annotationStrategy.getAnnotationType() != null; 197 return annotationStrategy.getAnnotationType().toString(); 357 Class<? extends Annotation> getAnnotationType(); 422 public Class<? extends Annotation> getAnnotationType() { 445 return new AnnotationTypeStrategy(getAnnotationType(), annotation); 452 public Class<? extends Annotation> getAnnotationType() { 499 public Class<? extends Annotation> getAnnotationType() {
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | RealElement.java | 95 Class<? extends Annotation> annotationType = key.getAnnotationType(); in nameOf() 98 } else if (key.getAnnotationType() != null) { in nameOf() 99 return "@" + key.getAnnotationType().getName(); in nameOf()
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
D | AnnotationImpl.java | 95 private Class getAnnotationType() { in getAnnotationType() method in AnnotationImpl 142 return getAnnotationType(); in invoke() 188 getAnnotationType(); in hashCode() 247 if (getAnnotationType().equals(otherAnnotationType) == false) in checkEquals()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | Scope.java | 85 && isTypeOf(Singleton.class, annotationMirror.getAnnotationType()); in isSingleton() 112 TypeElement typeElement = MoreTypes.asTypeElement(annotationMirror.getAnnotationType()); in getQualifiedName()
|
D | MapKeys.java | 87 MapKey mapKeyAnnotation = mapKey.getAnnotationType().asElement().getAnnotation(MapKey.class); in unwrapValue() 89 mapKeyAnnotation != null, "%s is not annotated with @MapKey", mapKey.getAnnotationType()); in unwrapValue() 156 getMapKeyCreatorClassName(MoreTypes.asTypeElement(mapKey.getAnnotationType())); in getMapKeySnippet() 284 mapKeyAnnotation.getAnnotationType().asElement().getSimpleName(), in annotationSnippet()
|
D | KeyVariableNamer.java | 43 builder.append(key.qualifier().get().getAnnotationType().asElement().getSimpleName()); in apply()
|
D | ConfigurationAnnotations.java | 100 if (mirror.getAnnotationType().asElement().getSimpleName().toString().equals("Nullable")) { in getNullableType() 101 return Optional.of(mirror.getAnnotationType()); in getNullableType()
|
D | Key.java | 288 ? getUnwrappedMapKeyType(mapKeyAnnotation.getAnnotationType(), types) 289 : mapKeyAnnotation.getAnnotationType();
|
/external/guice/core/src/com/google/inject/internal/ |
D | ConstantBindingBuilderImpl.java | 114 } else if (base.getKey().getAnnotationType() != null) { in toConstant() 115 key = Key.get(typeAsClassT, base.getKey().getAnnotationType()); in toConstant()
|
D | ScopeBindingProcessor.java | 40 …Class<? extends Annotation> annotationType = checkNotNull(command.getAnnotationType(), "annotation… in visit()
|
D | UntargettedBindingProcessor.java | 43 if (key.getAnnotationType() != null) { in visit()
|
D | ExposureBuilder.java | 41 if (key.getAnnotationType() != null) { in checkNotAnnotated()
|
D | AbstractBindingBuilder.java | 116 if (binding.getKey().getAnnotationType() != null) { in checkNotAnnotated()
|
D | MoreTypes.java | 79 } else if (key.getAnnotationType() != null) { in canonicalizeKey() 80 return Key.get(key.getTypeLiteral(), key.getAnnotationType()); in canonicalizeKey()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProviderMethod.java | 87 } else if(key.getAnnotationType() != null) { in configure() 88 sbinder = sbinder.annotatedWith(key.getAnnotationType()); in configure()
|
/external/guice/core/src/com/google/inject/util/ |
D | Modules.java | 213 overridesScopeAnnotations.put(scopeBinding.getAnnotationType(), scopeBinding); in configure() 291 overridesScopeAnnotations.remove(scopeBinding.getAnnotationType()); in configure() 304 .addError(sb.toString(), scopeBinding.getAnnotationType().getSimpleName()); in configure()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider2.java | 559 if (key.getAnnotationType() == Assisted.class) { in constructorHasMatchingParams() 583 Class<?> annotationType = dep.getKey().getAnnotationType(); in removeAssistedDeps() 625 Class<?> annotationType = dependency.getKey().getAnnotationType(); in isInjectorOrAssistedProvider() 642 if (key.getAnnotationType() == null) { in assistKey() 644 } else if (key.getAnnotationType() == Assisted.class) { in assistKey() 649 key.getAnnotationType()); in assistKey()
|
/external/guice/core/test/com/google/inject/ |
D | KeyTest.java | 60 assertEquals(Foo.class, ki.getAnnotationType()); in testOfType() 250 assertEquals(NoDefaults.class, noDefaults.getAnnotationType()); in testKeysWithDefaultAnnotations() 254 assertEquals(SomeDefaults.class, someDefaults.getAnnotationType()); in testKeysWithDefaultAnnotations()
|
/external/guice/core/src/com/google/inject/spi/ |
D | ScopeBinding.java | 52 public Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in ScopeBinding
|
/external/desugar/java/com/google/devtools/common/options/processor/ |
D | ProcessorUtils.java | 47 if (typeUtils.isSameType(annot.getAnnotationType(), annotationMirror)) { in getAnnotation()
|
/external/guice/extensions/jmx/src/com/google/inject/tools/jmx/ |
D | Manager.java | 68 Class<? extends Annotation> annotationType = key.getAnnotationType(); in manage()
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | ShortNameFactory.java | 53 Class<? extends Annotation> annotationType = key.getAnnotationType(); in getAnnotationName()
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricProcessor.java | 104 elementValidators.put(v.getAnnotationType(), v); in addValidator()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementSourceTest.java | 48 Class<? extends Annotation> annotationType = binding.getKey().getAnnotationType(); in testGetCallStack_IntegrationTest()
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | Validator.java | 99 public TypeElement getAnnotationType() { in getAnnotationType() method in Validator
|