Home
last modified time | relevance | path

Searched refs:getAnnotationType (Results 1 – 25 of 38) sorted by relevance

12

/external/guice/core/src/com/google/inject/
DKey.java175 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/
DRealElement.java95 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/
DAnnotationImpl.java95 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/
DScope.java85 && isTypeOf(Singleton.class, annotationMirror.getAnnotationType()); in isSingleton()
112 TypeElement typeElement = MoreTypes.asTypeElement(annotationMirror.getAnnotationType()); in getQualifiedName()
DMapKeys.java87 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()
DKeyVariableNamer.java43 builder.append(key.qualifier().get().getAnnotationType().asElement().getSimpleName()); in apply()
DConfigurationAnnotations.java100 if (mirror.getAnnotationType().asElement().getSimpleName().toString().equals("Nullable")) { in getNullableType()
101 return Optional.of(mirror.getAnnotationType()); in getNullableType()
DKey.java288 ? getUnwrappedMapKeyType(mapKeyAnnotation.getAnnotationType(), types)
289 : mapKeyAnnotation.getAnnotationType();
/external/guice/core/src/com/google/inject/internal/
DConstantBindingBuilderImpl.java114 } else if (base.getKey().getAnnotationType() != null) { in toConstant()
115 key = Key.get(typeAsClassT, base.getKey().getAnnotationType()); in toConstant()
DScopeBindingProcessor.java40 …Class<? extends Annotation> annotationType = checkNotNull(command.getAnnotationType(), "annotation… in visit()
DUntargettedBindingProcessor.java43 if (key.getAnnotationType() != null) { in visit()
DExposureBuilder.java41 if (key.getAnnotationType() != null) { in checkNotAnnotated()
DAbstractBindingBuilder.java116 if (binding.getKey().getAnnotationType() != null) { in checkNotAnnotated()
DMoreTypes.java79 } 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/
DCheckedProviderMethod.java87 } else if(key.getAnnotationType() != null) { in configure()
88 sbinder = sbinder.annotatedWith(key.getAnnotationType()); in configure()
/external/guice/core/src/com/google/inject/util/
DModules.java213 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/
DFactoryProvider2.java559 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/
DKeyTest.java60 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/
DScopeBinding.java52 public Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in ScopeBinding
/external/desugar/java/com/google/devtools/common/options/processor/
DProcessorUtils.java47 if (typeUtils.isSameType(annot.getAnnotationType(), annotationMirror)) { in getAnnotation()
/external/guice/extensions/jmx/src/com/google/inject/tools/jmx/
DManager.java68 Class<? extends Annotation> annotationType = key.getAnnotationType(); in manage()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DShortNameFactory.java53 Class<? extends Annotation> annotationType = key.getAnnotationType(); in getAnnotationName()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricProcessor.java104 elementValidators.put(v.getAnnotationType(), v); in addValidator()
/external/guice/core/test/com/google/inject/spi/
DElementSourceTest.java48 Class<? extends Annotation> annotationType = binding.getKey().getAnnotationType(); in testGetCallStack_IntegrationTest()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DValidator.java99 public TypeElement getAnnotationType() { in getAnnotationType() method in Validator

12