Home
last modified time | relevance | path

Searched refs:AnnotationValues (Results 1 – 10 of 10) sorted by relevance

/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java159 assertThat(AnnotationValues.getTypeMirror(value).asElement()).isEqualTo(insideClassA); in getTypeMirror()
167 assertThat(AnnotationValues.getTypeMirror(gvalue).asElement()).isEqualTo(genericClass); in getTypeMirrorGenericClass()
175 ImmutableList<DeclaredType> valueElements = AnnotationValues.getTypeMirrors(value); in getTypeMirrors()
187 AnnotationMirror annotationMirror = AnnotationValues.getAnnotationMirror(value); in getAnnotationMirror()
199 AnnotationValues.getAnnotationMirrors(value); in getAnnotationMirrors()
218 assertThat(AnnotationValues.getString(value)).isEqualTo("hello"); in getString()
224 assertThat(AnnotationValues.getStrings(value)).containsExactly("it's", "me").inOrder(); in getStrings()
230 assertThat(AnnotationValues.getEnum(value)).isEqualTo(value.getValue()); in getEnum()
236 assertThat(getEnumNames(AnnotationValues.getEnums(value))) in getEnums()
244 ImmutableList<AnnotationValue> values = AnnotationValues.getAnnotationValues(value); in getAnnotationValues()
[all …]
/external/auto/common/src/main/java/com/google/auto/common/
DAnnotationValues.java37 public final class AnnotationValues { class
82 return AnnotationValues.equivalence().pairwise().equivalent(
114 return AnnotationValues.equivalence().pairwise().hash((List<AnnotationValue>) values);
333 new ArrayVisitor<>(AnnotationValues::getTypeMirror);
345 new ArrayVisitor<>(AnnotationValues::getAnnotationMirror);
357 new ArrayVisitor<>(AnnotationValues::getEnum);
369 new ArrayVisitor<>(AnnotationValues::getString);
381 new ArrayVisitor<>(AnnotationValues::getInt);
393 new ArrayVisitor<>(AnnotationValues::getLong);
405 new ArrayVisitor<>(AnnotationValues::getByte);
[all …]
DAnnotationMirrors.java49 right.getAnnotationType()) && AnnotationValues.equivalence().pairwise().equivalent(
59 AnnotationValues.equivalence().pairwise().hash(annotationValues)});
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DComponentDependencies.java34 import dagger.hilt.processor.internal.AnnotationValues;
382 String test = AnnotationValues.getString(testValue); in getTestElement()
390 AnnotationValues.getAnnotationValues(componentsValue).stream() in getComponents()
391 .map(AnnotationValues::getString) in getComponents()
416 if (!AnnotationValues.getAnnotationValues(modulesValue).isEmpty()) { in getDependencyType()
419 if (!AnnotationValues.getAnnotationValues(entryPointsValue).isEmpty()) { in getDependencyType()
422 if (!AnnotationValues.getAnnotationValues(componentEntryPointsValue).isEmpty()) { in getDependencyType()
438 AnnotationValues.getString( in getDependency()
441 .addAll(AnnotationValues.getAnnotationValues(modulesValue)) in getDependency()
442 .addAll(AnnotationValues.getAnnotationValues(entryPointsValue)) in getDependency()
[all …]
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DAutoFactoryDeclaration.java117 TypeElement extendingType = AnnotationValues.asType(extendingValue); in createIfValid()
152 for (AnnotationValue implementingTypeValue : AnnotationValues.asList(implementingValue)) { in createIfValid()
153 builder.add(AnnotationValues.asType(implementingTypeValue)); in createIfValid()
158 boolean allowSubclasses = AnnotationValues.asBoolean(allowSubclassesValue); in createIfValid()
DAnnotationValues.java29 final class AnnotationValues { class
30 private AnnotationValues() {} in AnnotationValues() method in AnnotationValues
/external/dagger2/java/dagger/hilt/processor/internal/
DAnnotationValues.java37 public final class AnnotationValues { class
39 private AnnotationValues() {} in AnnotationValues() method in AnnotationValues
DBUILD56 "AnnotationValues.java",
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/
DDefineComponentMetadatas.java30 import dagger.hilt.processor.internal.AnnotationValues;
151 TypeElement parent = asTypeElement(AnnotationValues.getTypeMirror(parentValue)); in getUncached()
DDefineComponents.java29 import dagger.hilt.processor.internal.AnnotationValues;
207 String className = AnnotationValues.getString(value); in defineComponentClass()