Home
last modified time | relevance | path

Searched refs:AnnotationMirrors (Results 1 – 25 of 35) sorted by relevance

12

/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java158 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()
189 assertThat(AnnotationMirrors.getAnnotationValue(annotationMirror, "value").getValue()) in getAnnotationMirror()
197 AnnotationMirrors.getAnnotationValue(annotationMirror, "insideAnnotationValues"); in getAnnotationMirrors()
210 AnnotationMirrors.getAnnotationValue(annotationMirror, "value").getValue()) in getAnnotationMirrors()
217 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "stringValue"); in getString()
223 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "stringValues"); in getStrings()
229 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "enumValue"); in getEnum()
[all …]
DAnnotationMirrorsTest.java108 EquivalenceTester.of(AnnotationMirrors.equivalence()); in testEquivalences()
166 Iterable<AnnotationValue> values = AnnotationMirrors.getAnnotationValuesWithDefaults( in testGetDefaultValuesUnset()
177 Iterable<AnnotationValue> values = AnnotationMirrors.getAnnotationValuesWithDefaults( in testGetDefaultValuesSet()
189 AnnotationMirrors.getAnnotationElementAndValue( in testGetValueEntry()
193 AnnotationValue value = AnnotationMirrors.getAnnotationValue( in testGetValueEntry()
200 AnnotationMirrors.getAnnotationValue(annotationOn(TestClassBlah.class), "a"); in testGetValueEntryFailure()
/external/dagger2/java/dagger/internal/codegen/base/
DMoreAnnotationMirrors.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
23 import com.google.auto.common.AnnotationMirrors;
45 return optional.map(AnnotationMirrors.equivalence()::wrap); in wrapOptionalInEquivalence()
DScopes.java23 import com.google.auto.common.AnnotationMirrors;
75 return AnnotationMirrors.getAnnotatedAnnotations(element, javax.inject.Scope.class) in scopesOf()
DMoreAnnotationValues.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
20 import static com.google.auto.common.AnnotationMirrors.getAnnotationValuesWithDefaults;
DModuleAnnotation.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DProviderField.java21 import com.google.auto.common.AnnotationMirrors;
39 name, key, wrapOptionalInEquivalence(AnnotationMirrors.equivalence(), nullable)); in create()
DKey.java23 import com.google.auto.common.AnnotationMirrors;
86 wrapOptionalInEquivalence(AnnotationMirrors.equivalence(), qualifier)); in create()
DParameter.java22 import com.google.auto.common.AnnotationMirrors;
89 wrapOptionalInEquivalence(AnnotationMirrors.equivalence(), nullable)); in forVariableElement()
/external/dagger2/java/dagger/model/
DKey.java22 import com.google.auto.common.AnnotationMirrors;
117 AnnotationMirrors.getAnnotationValuesWithDefaults(qualifier); in stableAnnotationMirrorToString()
196 return wrappedQualifier(AnnotationMirrors.equivalence().wrap(checkNotNull(qualifier)));
200 return wrappedQualifier(checkNotNull(qualifier).map(AnnotationMirrors.equivalence()::wrap));
DScope.java22 import com.google.auto.common.AnnotationMirrors;
55 return new AutoValue_Scope(AnnotationMirrors.equivalence().wrap(scopeAnnotation)); in scope()
/external/dagger2/java/dagger/internal/codegen/binding/
DInjectionAnnotations.java30 import com.google.auto.common.AnnotationMirrors;
57 private static final Equivalence<AnnotationMirror> EQUIVALENCE = AnnotationMirrors.equivalence();
87 AnnotationMirrors.getAnnotatedAnnotations(element, Qualifier.class); in getQualifiers()
DMapKeys.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotatedAnnotations;
20 import static com.google.auto.common.AnnotationMirrors.getAnnotationValuesWithDefaults;
DSubcomponentDeclaration.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationElementAndValue;
/external/auto/common/src/main/java/com/google/auto/common/
DSimpleAnnotationMirror.java128 && AnnotationMirrors.equivalence().equivalent(this, (AnnotationMirror) other); in equals()
133 return AnnotationMirrors.equivalence().hash(this); in hashCode()
DAnnotationMirrors.java43 public final class AnnotationMirrors { class
155 private AnnotationMirrors() {}
DAnnotationValues.java62 return AnnotationMirrors.equivalence().equivalent(left, right);
108 return AnnotationMirrors.equivalence().hash(value);
/external/dagger2/java/dagger/hilt/processor/internal/
DAnnotationValues.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
20 import static com.google.auto.common.AnnotationMirrors.getAnnotationValuesWithDefaults;
/external/dagger2/java/dagger/android/processor/
DAndroidMapKeys.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
DAndroidInjectorDescriptor.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotatedAnnotations;
20 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
DDuplicateAndroidInjectorsChecker.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotatedAnnotations;
DAndroidMapKeyValidator.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotatedAnnotations;
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoOneOfProcessor.java23 import com.google.auto.common.AnnotationMirrors;
138 AnnotationMirrors.getAnnotationValue(oneOfAnnotation.get(), "value"); in mirrorForKindType()
/external/dagger2/java/dagger/internal/codegen/kotlin/
DKotlinMetadataUtil.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotatedAnnotations;
/external/dagger2/java/dagger/grpc/server/processor/
DGrpcServiceModel.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;

12