Home
last modified time | relevance | path

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

/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java144 private AnnotationMirror annotationMirror; field in AnnotationValuesTest
151 annotationMirror = in setUp()
158 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "classValue"); in getTypeMirror()
166 AnnotationMirrors.getAnnotationValue(annotationMirror, "genericClassValue"); in getTypeMirrorGenericClass()
174 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "classValues"); in getTypeMirrors()
186 AnnotationMirrors.getAnnotationValue(annotationMirror, "insideAnnotationValue"); in getAnnotationMirror()
187 AnnotationMirror annotationMirror = AnnotationValues.getAnnotationMirror(value); in getAnnotationMirror() local
188 assertThat(annotationMirror.getAnnotationType().asElement()).isEqualTo(insideAnnotation); in getAnnotationMirror()
189 assertThat(AnnotationMirrors.getAnnotationValue(annotationMirror, "value").getValue()) in getAnnotationMirror()
197 AnnotationMirrors.getAnnotationValue(annotationMirror, "insideAnnotationValues"); in getAnnotationMirrors()
[all …]
/external/auto/common/src/main/java/com/google/auto/common/
DAnnotationMirrors.java113 AnnotationMirror annotationMirror, String elementName) { in getAnnotationValue() argument
114 return getAnnotationElementAndValue(annotationMirror, elementName).getValue(); in getAnnotationValue()
125 AnnotationMirror annotationMirror, final String elementName) { in getAnnotationElementAndValue() argument
126 checkNotNull(annotationMirror); in getAnnotationElementAndValue()
129 getAnnotationValuesWithDefaults(annotationMirror).entrySet()) { in getAnnotationElementAndValue()
135 MoreElements.asType(annotationMirror.getAnnotationType().asElement()).getQualifiedName(), in getAnnotationElementAndValue()
DSuperficialValidation.java184 for (AnnotationMirror annotationMirror : annotationMirrors) { in validateAnnotations()
185 if (!validateAnnotation(annotationMirror)) { in validateAnnotations()
192 private static boolean validateAnnotation(AnnotationMirror annotationMirror) { in validateAnnotation() argument
193 return validateType(annotationMirror.getAnnotationType()) in validateAnnotation()
194 && validateAnnotationValues(annotationMirror.getElementValues()); in validateAnnotation()
DMoreElements.java235 for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) { in getAnnotationMirror()
236 TypeElement annotationTypeElement = asType(annotationMirror.getAnnotationType().asElement()); in getAnnotationMirror()
238 return Optional.of(annotationMirror); in getAnnotationMirror()
/external/dagger2/java/dagger/internal/codegen/base/
DMoreAnnotationMirrors.java57 public static Name simpleName(AnnotationMirror annotationMirror) { in simpleName() argument
58 return annotationMirror.getAnnotationType().asElement().getSimpleName(); in simpleName()
67 AnnotationMirror annotationMirror, String name) { in getTypeListValue() argument
68 return asAnnotationValues(getAnnotationValue(annotationMirror, name)) in getTypeListValue()
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/
DAliasOfs.java78 AnnotationMirror annotationMirror = in getAliases() local
82 annotationMirror != null, in getAliases()
93 Processors.getAnnotationClassValue(elements, annotationMirror, "defineComponentScope"); in getAliases()
94 TypeElement alias = Processors.getAnnotationClassValue(elements, annotationMirror, "alias"); in getAliases()
DAliasOfProcessor.java51 AnnotationMirror annotationMirror = in processEach() local
55 Processors.getAnnotationClassValue(getElementUtils(), annotationMirror, "value"); in processEach()
/external/auto/service/processor/src/main/java/com/google/auto/service/processor/
DAutoServiceProcessor.java138 AnnotationMirror annotationMirror = getAnnotationMirror(e, AutoService.class).get(); in processAnnotations() local
139 Set<DeclaredType> providerInterfaces = getValueFieldOfClasses(annotationMirror); in processAnnotations()
141 error(MISSING_SERVICES_ERROR, e, annotationMirror); in processAnnotations()
156 error(message, e, annotationMirror); in processAnnotations()
258 private ImmutableSet<DeclaredType> getValueFieldOfClasses(AnnotationMirror annotationMirror) { in getValueFieldOfClasses() argument
259 return getAnnotationValue(annotationMirror, "value") in getValueFieldOfClasses()
/external/dagger2/java/dagger/hilt/processor/internal/generatesrootinput/
DGeneratesRootInputs.java83 AnnotationMirror annotationMirror = in getAnnotationList() local
86 annotationMirror != null, in getAnnotationList()
97 Processors.getAnnotationClassValue(elements, annotationMirror, "value"); in getAnnotationList()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DMirrors.java79 for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) {
80 if (getQualifiedName(annotationMirror.getAnnotationType()).contentEquals(annotationName)) {
81 return Optional.of(annotationMirror);
/external/desugar/java/com/google/devtools/common/options/processor/
DProcessorUtils.java44 TypeMirror annotationMirror = annotationElement.asType(); in getAnnotation() local
47 if (typeUtils.isSameType(annot.getAnnotationType(), annotationMirror)) { in getAnnotation()
DOptionProcessor.java458 AnnotationMirror annotationMirror = in checkExpansionOptions() local
462 elementUtils, annotationMirror, "expansionFunction"); in checkExpansionOptions()
/external/dagger2/java/dagger/android/processor/
DAndroidMapKeyValidator.java157 AnnotationMirror annotationMirror = getAnnotationMirror(method, annotation).get(); in validateMapKeyMatchesBindsParameter() local
159 elements.getTypeElement(injectedTypeFromMapKey(annotationMirror).get()).asType(); in validateMapKeyMatchesBindsParameter()
165 annotationMirror); in validateMapKeyMatchesBindsParameter()
/external/dagger2/java/dagger/internal/codegen/javac/
DJavacPluginModule.java67 AnnotationMirror annotationMirror) {} in printMessage() argument
74 AnnotationMirror annotationMirror, in printMessage() argument
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DGenerators.java84 for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) { in getNullableAnnotationSpec()
85 if (annotationMirror in getNullableAnnotationSpec()
90 AnnotationSpec annotationSpec = AnnotationSpec.get(annotationMirror); in getNullableAnnotationSpec()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAnnotationOutput.java224 static String sourceFormForAnnotation(AnnotationMirror annotationMirror) { in sourceFormForAnnotation() argument
226 new AnnotationSourceFormVisitor().visitAnnotation(annotationMirror, sb); in sourceFormForAnnotation()
DTypeEncoder.java203 for (AnnotationMirror annotationMirror : annotationMirrors) { in appendAnnotations()
204 sb.append(AnnotationOutput.sourceFormForAnnotation(annotationMirror)).append(" "); in appendAnnotations()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DHelpers.java69 public static AnnotationValue getAnnotationTypeMirrorValue(AnnotationMirror annotationMirror, in getAnnotationTypeMirrorValue() argument
72 annotationMirror.getElementValues().entrySet()) { in getAnnotationTypeMirrorValue()
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessors.java469 for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) {
470 if (annotationMirror.getAnnotationType().getKind() == TypeKind.ERROR) {
585 Optional<AnnotationMirror> annotationMirror = getAnnotationMirrorOptional(element, className);
586 if (annotationMirror.isPresent()) {
587 return annotationMirror.get();
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DAggregatedDepsProcessor.java432 private static boolean isGenerated(AnnotationMirror annotationMirror) {
433 Name name = asType(annotationMirror.getAnnotationType().asElement()).getQualifiedName();
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...