Home
last modified time | relevance | path

Searched refs:ArrayVisitor (Results 1 – 2 of 2) sorted by relevance

/external/auto/common/src/main/java/com/google/auto/common/
DAnnotationValues.java313 private static final class ArrayVisitor<T> class in AnnotationValues
317 ArrayVisitor(Function<AnnotationValue, T> visitT) { in ArrayVisitor() method in AnnotationValues.ArrayVisitor
332 private static final ArrayVisitor<DeclaredType> TYPE_MIRRORS_VISITOR =
333 new ArrayVisitor<>(AnnotationValues::getTypeMirror);
344 private static final ArrayVisitor<AnnotationMirror> ANNOTATION_MIRRORS_VISITOR =
345 new ArrayVisitor<>(AnnotationValues::getAnnotationMirror);
356 private static final ArrayVisitor<VariableElement> ENUMS_VISITOR =
357 new ArrayVisitor<>(AnnotationValues::getEnum);
368 private static final ArrayVisitor<String> STRINGS_VISITOR =
369 new ArrayVisitor<>(AnnotationValues::getString);
[all …]
/external/rust/crates/serde/src/de/
Dimpls.rs992 struct ArrayVisitor<A> { struct
997 impl<A> ArrayVisitor<A> { argument
999 ArrayVisitor { in new()
1005 impl<'de, T> Visitor<'de> for ArrayVisitor<[T; 0]> { implementation
1027 deserializer.deserialize_tuple(0, ArrayVisitor::<[T; 0]>::new()) in deserialize()
1034 impl<'de, T> Visitor<'de> for ArrayVisitor<[T; $len]>
1095 deserializer.deserialize_tuple($len, ArrayVisitor::<[T; $len]>::new())