/external/auto/common/src/main/java/com/google/auto/common/ |
D | AnnotationMirrors.java | 48 return MoreTypes.equivalence().equivalent(left.getAnnotationType(), 49 right.getAnnotationType()) && AnnotationValues.equivalence().pairwise().equivalent( 55 DeclaredType type = annotation.getAnnotationType(); 89 ElementFilter.methodsIn(annotation.getAnnotationType().asElement().getEnclosedElements())) { in getAnnotationValuesWithDefaults() 135 MoreElements.asType(annotationMirror.getAnnotationType().asElement()).getQualifiedName(), in getAnnotationElementAndValue() 149 return isAnnotationPresent(input.getAnnotationType().asElement(), annotationType); in getAnnotatedAnnotations()
|
/external/guice/core/src/com/google/inject/ |
D | Key.java | 145 public final Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in Key 146 return annotationStrategy.getAnnotationType(); in getAnnotationType() 155 return annotationStrategy.getAnnotationType() != null; in hasAnnotationType() 165 return annotationStrategy.getAnnotationType().toString(); in getAnnotationName() 306 Class<? extends Annotation> getAnnotationType(); in getAnnotationType() method 373 public Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in Key.NullAnnotationStrategy 399 return new AnnotationTypeStrategy(getAnnotationType(), annotation); in withoutAttributes() 408 public Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in Key.AnnotationInstanceStrategy 461 public Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in Key.AnnotationTypeStrategy
|
/external/dagger2/java/dagger/internal/codegen/base/ |
D | ComponentAnnotation.java | 163 .anyMatch(annotationClass -> isTypeOf(annotationClass, annotation.getAnnotationType())); in isComponentAnnotation() 171 if (isTypeOf(Component.class, annotation.getAnnotationType())) { in componentAnnotation() 174 if (isTypeOf(Subcomponent.class, annotation.getAnnotationType())) { in componentAnnotation() 177 if (isTypeOf(ProductionComponent.class, annotation.getAnnotationType())) { in componentAnnotation() 180 if (isTypeOf(ProductionSubcomponent.class, annotation.getAnnotationType())) { in componentAnnotation() 293 return ClassName.get(asType(moduleAnnotation().annotation().getAnnotationType().asElement())) in isProduction()
|
D | ModuleAnnotation.java | 52 return annotation().getAnnotationType().asElement().getSimpleName().toString(); in annotationName() 97 .anyMatch(asTypeElement(annotation.getAnnotationType()).getQualifiedName()::contentEquals); in isModuleAnnotation()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | MapKeys.java | 84 MapKey mapKeyAnnotation = mapKey.getAnnotationType().asElement().getAnnotation(MapKey.class); in unwrapValue() 86 mapKeyAnnotation != null, "%s is not annotated with @MapKey", mapKey.getAnnotationType()); in unwrapValue() 94 ? getUnwrappedMapKeyType(mapKeyAnnotation.getAnnotationType(), types) in mapKeyType() 95 : mapKeyAnnotation.getAnnotationType(); in mapKeyType() 173 if (MoreTypes.asTypeElement(mapKey.getAnnotationType()) in directMapKeyExpression()
|
D | ConfigurationAnnotations.java | 82 if (mirror.getAnnotationType().asElement().getSimpleName().contentEquals("Nullable")) { in getNullableType() 83 return Optional.of(mirror.getAnnotationType()); in getNullableType()
|
D | AnnotationExpression.java | 62 MoreTypes.asTypeElement(annotation.getAnnotationType())); in AnnotationExpression() 78 MoreElements.asType(annotation.getAnnotationType().asElement())), in getAnnotationInstanceExpression()
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
D | AnnotationImpl.java | 98 private Class<?> getAnnotationType() { in getAnnotationType() method in AnnotationImpl 146 return getAnnotationType(); in invoke() 192 getAnnotationType(); in hashCode() 251 if (getAnnotationType().equals(otherAnnotationType) == false) in checkEquals()
|
/external/dagger2/java/dagger/model/ |
D | Scope.java | 47 return MoreTypes.asTypeElement(scopeAnnotation().getAnnotationType()); in scopeAnnotationElement() 62 return isScope(MoreElements.asType(scopeAnnotation.getAnnotationType().asElement())); in isScope()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | GwtCompatibility.java | 37 Name name = annotation.getAnnotationType().asElement().getSimpleName(); in GwtCompatibility() 59 TypeElement annotationElement = (TypeElement) annotation.getAnnotationType().asElement(); in gwtCompatibleAnnotationString()
|
D | AutoValueOrOneOfProcessor.java | 578 return annotation.getAnnotationType().asElement().getSimpleName().contentEquals("Nullable"); in isNullable() 944 .filter(a -> isAnnotationPresent(a.getAnnotationType().asElement(), Inherited.class)) in getAnnotationsMarkedWithInherited() 954 return ((QualifiedNameable) annotation.getAnnotationType().asElement()) in getAnnotationFqName() 1013 .map(a -> a.getAnnotationType().asElement()) in propertyFieldAnnotations() 1034 .map(a -> a.getAnnotationType().asElement()) in getReturnTypeAnnotations() 1047 Element annotationElement = annotation.getAnnotationType().asElement(); in annotationVisibleFrom() 1091 TypeElement annotationElement = MoreTypes.asTypeElement(annotation.getAnnotationType()); in getAnnotationMirror()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/ |
D | MemoizedValidator.java | 72 .map(annotation -> MoreTypes.asTypeElement(annotation.getAnnotationType())) in isAutoValue() 78 TypeElement annotationElement = MoreTypes.asTypeElement(annotation.getAnnotationType()); in getAnnotationMirror()
|
D | MemoizeExtension.java | 269 return ((QualifiedNameable) annotation.getAnnotationType().asElement()) in getAnnotationFqName() 276 Element annotationElement = annotation.getAnnotationType().asElement(); in annotationVisibleFrom() 375 .filter(a -> isAnnotationPresent(a.getAnnotationType().asElement(), Inherited.class)) in getAnnotationsMarkedWithInherited() 494 MoreElements.asType(annotation.getAnnotationType().asElement()) in pullDownMethodAnnotation() 590 .map(a -> a.getAnnotationType().asElement().getSimpleName()) in containsNullable()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | AnnotationEntry.java | 97 public String getAnnotationType() { in getAnnotationType() method in AnnotationEntry 140 result.append(getAnnotationType()); in toShortString()
|
/external/guice/core/src/com/google/inject/internal/ |
D | ConstantBindingBuilderImpl.java | 125 } else if (base.getKey().getAnnotationType() != null) { in toConstant() 126 key = Key.get(typeAsClassT, base.getKey().getAnnotationType()); in toConstant()
|
D | Annotations.java | 376 Class<? extends Annotation> annotationType = key.getAnnotationType(); 379 } else if (key.getAnnotationType() != null) { 380 return "@" + key.getAnnotationType().getName();
|
D | ScopeBindingProcessor.java | 41 checkNotNull(command.getAnnotationType(), "annotation type"); in visit()
|
D | UntargettedBindingProcessor.java | 45 if (key.getAnnotationType() != null) { in visit()
|
/external/turbine/javatests/com/google/turbine/processing/ |
D | TurbineAnnotationMirrorTest.java | 62 .filter(x -> x.getAnnotationType().asElement().getSimpleName().contentEquals(name)) in getAnnotation() 160 .map(anno -> anno.getAnnotationType().asElement().getSimpleName().toString()); 220 ((TypeElement) a.getAnnotationType().asElement()).getQualifiedName().contentEquals("A");
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProviderMethod.java | 85 } else if (key.getAnnotationType() != null) { in configure() 86 sbinder = sbinder.annotatedWith(key.getAnnotationType()); in configure()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | FieldAnnotationsTestCase.java | 135 + " but it had name " + a.getAnnotationType(), a.getAnnotationType() in checkAnnotationEntry()
|
/external/guice/core/src/com/google/inject/util/ |
D | Modules.java | 214 overridesScopeAnnotations.put(scopeBinding.getAnnotationType(), scopeBinding); in configure() 296 overridesScopeAnnotations.remove(scopeBinding.getAnnotationType()); in configure() 311 .addError(sb.toString(), scopeBinding.getAnnotationType().getSimpleName()); in configure()
|
/external/guice/core/src/com/google/inject/spi/ |
D | ScopeBinding.java | 53 public Class<? extends Annotation> getAnnotationType() { in getAnnotationType() method in ScopeBinding
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | GwtCompatibility.java | 54 Name simpleName = annotation.getAnnotationType().asElement().getSimpleName(); in isGwtIncompatible()
|
/external/guice/core/test/com/google/inject/ |
D | KeyTest.java | 58 assertEquals(Foo.class, ki.getAnnotationType()); in testOfType() 272 assertEquals(NoDefaults.class, noDefaults.getAnnotationType()); in testKeysWithDefaultAnnotations() 276 assertEquals(SomeDefaults.class, someDefaults.getAnnotationType()); in testKeysWithDefaultAnnotations()
|