Home
last modified time | relevance | path

Searched refs:JavaType (Results 1 – 25 of 897) sorted by relevance

12345678910>>...36

/aosp_15_r20/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
H A DTypeFactory.java8 import com.fasterxml.jackson.databind.JavaType;
40 private final static JavaType[] NO_TYPES = new JavaType[0];
127 protected final LRUMap<Object,JavaType> _typeCache;
161 protected TypeFactory(LRUMap<Object,JavaType> typeCache) { in TypeFactory()
163 typeCache = new LRUMap<Object,JavaType>(16, 200); in TypeFactory()
171 protected TypeFactory(LRUMap<Object,JavaType> typeCache, TypeParser p, in TypeFactory()
175 typeCache = new LRUMap<Object,JavaType>(16, 200); in TypeFactory()
191 LRUMap<Object,JavaType> typeCache = _typeCache; in withModifier()
225 public TypeFactory withCache(LRUMap<Object,JavaType> cache) { in withCache()
265 public static JavaType unknownType() { in unknownType()
[all …]
H A DMapLikeType.java6 import com.fasterxml.jackson.databind.JavaType;
22 protected final JavaType _keyType;
27 protected final JavaType _valueType;
36 JavaType superClass, JavaType[] superInts, JavaType keyT, in MapLikeType()
37 JavaType valueT, Object valueHandler, Object typeHandler, in MapLikeType()
48 protected MapLikeType(TypeBase base, JavaType keyT, JavaType valueT) { in MapLikeType()
60 public static MapLikeType upgradeFrom(JavaType baseType, JavaType keyT, in upgradeFrom()
61 JavaType valueT) { in upgradeFrom()
74 public static MapLikeType construct(Class<?> rawType, JavaType keyT, in construct()
75 JavaType valueT) { in construct()
[all …]
H A DReferenceType.java3 import com.fasterxml.jackson.databind.JavaType;
17 protected final JavaType _referencedType;
27 protected final JavaType _anchorType;
30 JavaType superClass, JavaType[] superInts, JavaType refType, in ReferenceType()
31 JavaType anchorType, in ReferenceType()
47 protected ReferenceType(TypeBase base, JavaType refType) in ReferenceType()
64 public static ReferenceType upgradeFrom(JavaType baseType, JavaType refdType) { in upgradeFrom()
80 JavaType superClass, JavaType[] superInts, JavaType refType) in construct()
87 public static ReferenceType construct(Class<?> cls, JavaType refType) { in construct()
94 public JavaType withContentType(JavaType contentType) { in withContentType()
[all …]
H A DCollectionLikeType.java6 import com.fasterxml.jackson.databind.JavaType;
22 protected final JavaType _elementType;
31 JavaType superClass, JavaType[] superInts, JavaType elemT, in CollectionLikeType()
42 protected CollectionLikeType(TypeBase base, JavaType elemT) in CollectionLikeType()
52 JavaType superClass, JavaType[] superInts, JavaType elemT) { in construct()
62 public static CollectionLikeType construct(Class<?> rawType, JavaType elemT) { in construct()
83 public static CollectionLikeType upgradeFrom(JavaType baseType, JavaType elementType) { in upgradeFrom()
94 protected JavaType _narrow(Class<?> subclass) { in _narrow()
101 public JavaType withContentType(JavaType contentType) { in withContentType()
137 public JavaType withHandlersFrom(JavaType src) { in withHandlersFrom()
[all …]
H A DMapType.java5 import com.fasterxml.jackson.databind.JavaType;
21 JavaType superClass, JavaType[] superInts, JavaType keyT, JavaType valueT, in MapType()
30 protected MapType(TypeBase base, JavaType keyT, JavaType valueT) { in MapType()
38 JavaType superClass, JavaType[] superInts, in construct()
39 JavaType keyT, JavaType valueT) { in construct()
44 public static MapType construct(Class<?> rawType, JavaType keyT, JavaType valueT) in construct()
62 protected JavaType _narrow(Class<?> subclass) { in _narrow()
106 public JavaType withContentType(JavaType contentType) { in withContentType()
115 public MapType withKeyType(JavaType keyType) { in withKeyType()
124 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
[all …]
H A DTypeBindings.java6 import com.fasterxml.jackson.databind.JavaType;
19 private final static JavaType[] NO_TYPES = new JavaType[0];
35 private final JavaType[] _types;
52 private TypeBindings(String[] names, JavaType[] types, String[] uvars) in TypeBindings()
83 public static TypeBindings create(Class<?> erasedType, List<JavaType> typeList) in create()
85 JavaType[] types = (typeList == null || typeList.isEmpty()) ? in create()
90 public static TypeBindings create(Class<?> erasedType, JavaType[] types) in create()
120 public static TypeBindings create(Class<?> erasedType, JavaType typeArg1) in create()
130 new JavaType[] { typeArg1 }, null); in create()
133 public static TypeBindings create(Class<?> erasedType, JavaType typeArg1, JavaType typeArg2) in create()
[all …]
H A DSimpleType.java5 import com.fasterxml.jackson.databind.JavaType;
37 JavaType superClass, JavaType[] superInts) { in SimpleType()
52 JavaType superClass, JavaType[] superInts, in SimpleType()
65 JavaType superClass, JavaType[] superInts, int extraHash, in SimpleType()
123 protected JavaType _narrow(Class<?> subclass) in _narrow()
147 JavaType superb = _narrow(next); in _narrow()
156 new JavaType[] { this }, _valueHandler, _typeHandler, _asStatic); in _narrow()
159 JavaType superb = _narrow(iface); in _narrow()
161 new JavaType[] { superb }, _valueHandler, _typeHandler, _asStatic); in _narrow()
170 public JavaType withContentType(JavaType contentType) { in withContentType()
[all …]
H A DResolvedRecursiveType.java3 import com.fasterxml.jackson.databind.JavaType;
14 protected JavaType _referencedType;
20 public void setReference(JavaType ref) in setReference()
30 public JavaType getSuperClass() { in getSuperClass()
37 public JavaType getSelfReferencedType() { return _referencedType; } in getSelfReferencedType()
69 public JavaType withContentType(JavaType contentType) { in withContentType()
74 public JavaType withTypeHandler(Object h) { in withTypeHandler()
79 public JavaType withContentTypeHandler(Object h) { in withContentTypeHandler()
84 public JavaType withValueHandler(Object h) { in withValueHandler()
89 public JavaType withContentValueHandler(Object h) { in withContentValueHandler()
[all …]
H A DPlaceholderForType.java3 import com.fasterxml.jackson.databind.JavaType;
21 protected JavaType _actualType;
31 public JavaType actualType() { return _actualType; } in actualType()
32 public void actualType(JavaType t) { _actualType = t; } in actualType()
52 public JavaType withTypeHandler(Object h) { in withTypeHandler()
57 public JavaType withContentTypeHandler(Object h) { in withContentTypeHandler()
62 public JavaType withValueHandler(Object h) { in withValueHandler()
67 public JavaType withContentValueHandler(Object h) { in withContentValueHandler()
72 public JavaType withContentType(JavaType contentType) { in withContentType()
77 public JavaType withStaticTyping() { in withStaticTyping()
[all …]
H A DCollectionType.java5 import com.fasterxml.jackson.databind.JavaType;
22 JavaType superClass, JavaType[] superInts, JavaType elemT, in CollectionType()
31 protected CollectionType(TypeBase base, JavaType elemT) { in CollectionType()
39 JavaType superClass, JavaType[] superInts, JavaType elemT) { in construct()
48 public static CollectionType construct(Class<?> rawType, JavaType elemT) { in construct()
66 protected JavaType _narrow(Class<?> subclass) { in _narrow()
72 public JavaType withContentType(JavaType contentType) { in withContentType()
118 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
119 JavaType superClass, JavaType[] superInterfaces) { in refine()
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DFieldType.java42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE),
43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT),
44 INT64(2, Collection.SCALAR, JavaType.LONG),
45 UINT64(3, Collection.SCALAR, JavaType.LONG),
46 INT32(4, Collection.SCALAR, JavaType.INT),
47 FIXED64(5, Collection.SCALAR, JavaType.LONG),
48 FIXED32(6, Collection.SCALAR, JavaType.INT),
49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN),
50 STRING(8, Collection.SCALAR, JavaType.STRING),
51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE),
[all …]
H A DWireFormat.java84 public enum JavaType { enum in WireFormat
95 JavaType(final Object defaultDefault) { in JavaType() method in WireFormat.JavaType
112 DOUBLE(JavaType.DOUBLE, WIRETYPE_FIXED64),
113 FLOAT(JavaType.FLOAT, WIRETYPE_FIXED32),
114 INT64(JavaType.LONG, WIRETYPE_VARINT),
115 UINT64(JavaType.LONG, WIRETYPE_VARINT),
116 INT32(JavaType.INT, WIRETYPE_VARINT),
117 FIXED64(JavaType.LONG, WIRETYPE_FIXED64),
118 FIXED32(JavaType.INT, WIRETYPE_FIXED32),
119 BOOL(JavaType.BOOLEAN, WIRETYPE_VARINT),
[all …]
/aosp_15_r20/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DFieldType.java42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE),
43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT),
44 INT64(2, Collection.SCALAR, JavaType.LONG),
45 UINT64(3, Collection.SCALAR, JavaType.LONG),
46 INT32(4, Collection.SCALAR, JavaType.INT),
47 FIXED64(5, Collection.SCALAR, JavaType.LONG),
48 FIXED32(6, Collection.SCALAR, JavaType.INT),
49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN),
50 STRING(8, Collection.SCALAR, JavaType.STRING),
51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE),
[all …]
H A DWireFormat.java84 public enum JavaType { enum in WireFormat
95 JavaType(final Object defaultDefault) { in JavaType() method in WireFormat.JavaType
112 DOUBLE(JavaType.DOUBLE, WIRETYPE_FIXED64),
113 FLOAT(JavaType.FLOAT, WIRETYPE_FIXED32),
114 INT64(JavaType.LONG, WIRETYPE_VARINT),
115 UINT64(JavaType.LONG, WIRETYPE_VARINT),
116 INT32(JavaType.INT, WIRETYPE_VARINT),
117 FIXED64(JavaType.LONG, WIRETYPE_FIXED64),
118 FIXED32(JavaType.INT, WIRETYPE_FIXED32),
119 BOOL(JavaType.BOOLEAN, WIRETYPE_VARINT),
[all …]
/aosp_15_r20/external/rust/beto-rust/common/pourover_macro/src/
Dtype_parser.rs26 pub enum JavaType<'a> { enum
38 impl<'a> JavaType<'a> { implementation
44 fn parse(s: &'a str) -> IResult<&'a str, JavaType<'a>> { in parse()
55 Some(depth) => JavaType::Array { depth, ty }, in parse()
56 None => JavaType::NonArray(ty), in parse()
67 impl<'a> fmt::Display for JavaType<'a> { implementation
70 JavaType::Array { depth, ty } => { in fmt()
76 JavaType::NonArray(ty) => write!(f, "{ty}"), in fmt()
81 impl<'a> From<NonArray<'a>> for JavaType<'a> { implementation
83 JavaType::NonArray(ty) in from()
[all …]
/aosp_15_r20/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
H A DJavaType.java21 public abstract class JavaType class
77 protected JavaType(Class<?> raw, int additionalHash, in JavaType() method in JavaType
92 protected JavaType(JavaType base) in JavaType() method in JavaType
107 public abstract JavaType withTypeHandler(Object h); in withTypeHandler()
116 public abstract JavaType withContentTypeHandler(Object h); in withContentTypeHandler()
124 public abstract JavaType withValueHandler(Object h); in withValueHandler()
132 public abstract JavaType withContentValueHandler(Object h); in withContentValueHandler()
141 public JavaType withHandlersFrom(JavaType src) { in withHandlersFrom()
142 JavaType type = this; in withHandlersFrom()
169 public abstract JavaType withContentType(JavaType contentType); in withContentType()
[all …]
/aosp_15_r20/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsonFormatVisitors/
H A DJsonFormatVisitorWrapper.java3 import com.fasterxml.jackson.databind.JavaType;
19 public JsonObjectFormatVisitor expectObjectFormat(JavaType type) throws JsonMappingException; in expectObjectFormat()
24 public JsonArrayFormatVisitor expectArrayFormat(JavaType type) throws JsonMappingException; in expectArrayFormat()
29 public JsonStringFormatVisitor expectStringFormat(JavaType type) throws JsonMappingException; in expectStringFormat()
34 public JsonNumberFormatVisitor expectNumberFormat(JavaType type) throws JsonMappingException; in expectNumberFormat()
39 public JsonIntegerFormatVisitor expectIntegerFormat(JavaType type) throws JsonMappingException; in expectIntegerFormat()
44 public JsonBooleanFormatVisitor expectBooleanFormat(JavaType type) throws JsonMappingException; in expectBooleanFormat()
49 public JsonNullFormatVisitor expectNullFormat(JavaType type) throws JsonMappingException; in expectNullFormat()
54 public JsonAnyFormatVisitor expectAnyFormat(JavaType type) throws JsonMappingException; in expectAnyFormat()
62 public JsonMapFormatVisitor expectMapFormat(JavaType type) throws JsonMappingException; in expectMapFormat()
[all …]
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/protoparser/
H A DTypeParser.java31 import com.google.protobuf.Descriptors.FieldDescriptor.JavaType;
43 private static Map<JavaType, TypeNode> SIMPLE_TYPE_MAP =
44 ImmutableMap.<JavaType, TypeNode>builder()
45 .put(JavaType.INT, TypeNode.INT)
46 .put(JavaType.LONG, TypeNode.LONG)
47 .put(JavaType.FLOAT, TypeNode.FLOAT)
48 .put(JavaType.DOUBLE, TypeNode.DOUBLE)
49 .put(JavaType.STRING, TypeNode.STRING)
50 .put(JavaType.BOOLEAN, TypeNode.BOOLEAN)
51 .put(JavaType.BYTE_STRING, TYPE_NODE_BYTE_STRING)
[all …]
/aosp_15_r20/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
H A DTestTypeFactory1604.java7 import com.fasterxml.jackson.databind.JavaType;
39 JavaType base = tf.constructType(new TypeReference<Data1604<List<Long>>>() { }); in testCustomTypesRefinedSimple()
44 JavaType subtype = tf.constructSpecializedType(base, DataList1604.class); in testCustomTypesRefinedSimple()
47 JavaType paramType = subtype.containedType(0); in testCustomTypesRefinedSimple()
54 JavaType base = tf.constructType(new TypeReference<Data1604<List<Long>>>() { }); in testCustomTypesRefinedNested()
57 JavaType subtype = tf.constructSpecializedType(base, RefinedDataList1604.class); in testCustomTypesRefinedNested()
62 JavaType paramType = subtype.containedType(0); in testCustomTypesRefinedNested()
69 JavaType base = tf.constructType(new TypeReference<Data1604<List<Long>>>() { }); in testCustomTypesRefinedSneaky()
72 JavaType subtype = tf.constructSpecializedType(base, SneakyDataList1604.class); in testCustomTypesRefinedSneaky()
86 JavaType type = tf.constructType(new TypeReference<TwoParam1604<String,List<Long>>>() { }); in testTwoParamSneakyCustom()
[all …]
H A DTestTypeFactory.java132 JavaType t = tf.constructType(Properties.class); in testProperties()
146 JavaType t = tf.constructType(new TypeReference<Iterator<String>>() { }); in testIterator()
163 …final JavaType t = tf.constructParametrizedType(ArrayList.class, Collection.class, String.class); … in testParametricTypes()
165 JavaType strC = tf.constructType(String.class); in testParametricTypes()
171JavaType t2 = tf.constructParametrizedType(Map.class, Map.class, strC, t); // Map<String,ArrayList… in testParametricTypes()
180 JavaType t3 = tf.constructParametricType(HashSet.class, t.getBindings()); // HashSet<String> in testParametricTypes()
187JavaType custom = tf.constructParametrizedType(SingleArgGeneric.class, SingleArgGeneric.class, in testParametricTypes()
195 JavaType custom2 = tf.constructParametricType(SingleArgGeneric.class, t.getBindings()); in testParametricTypes()
209 final JavaType strC = tf.constructType(String.class); in testInvalidParametricTypes()
233 JavaType t = tf.constructType(java.util.Calendar.class); in testCanonicalNames()
[all …]
/aosp_15_r20/external/jackson-databind/attic/
H A DTypeBindings.java6 import com.fasterxml.jackson.databind.JavaType;
14 private final static JavaType[] NO_TYPES = new JavaType[0];
19 public final static JavaType UNBOUND = new SimpleType(Object.class);
35 protected final JavaType _contextType;
46 protected Map<String,JavaType> _bindings;
73 public TypeBindings(TypeFactory typeFactory, ClassStack stack, JavaType type) in TypeBindings()
89 Class<?> cc, JavaType type) in TypeBindings()
104 public JavaType resolveType(Class<?> cls) { in resolveType()
108 public JavaType resolveType(Type type) { in resolveType()
118 public JavaType findType(String name, boolean mustFind) in findType()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/
Dsignature.rs44 pub enum JavaType { enum
47 Array(Box<JavaType>),
51 impl FromStr for JavaType { implementation
62 impl fmt::Display for JavaType { implementation
65 JavaType::Primitive(ref ty) => ty.fmt(f), in fmt()
66 JavaType::Object(ref name) => write!(f, "L{name};"), in fmt()
67 JavaType::Array(ref ty) => write!(f, "[{ty}"), in fmt()
68 JavaType::Method(ref m) => m.fmt(f), in fmt()
113 pub args: Vec<JavaType>,
123 Ok(JavaType::Method(sig)) => *sig, in from_str()
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/
Dsignature.rs44 pub enum JavaType { enum
47 Array(Box<JavaType>),
51 impl FromStr for JavaType { implementation
62 impl fmt::Display for JavaType { implementation
65 JavaType::Primitive(ref ty) => ty.fmt(f), in fmt()
66 JavaType::Object(ref name) => write!(f, "L{};", name), in fmt()
67 JavaType::Array(ref ty) => write!(f, "[{}", ty), in fmt()
68 JavaType::Method(ref m) => m.fmt(f), in fmt()
113 pub args: Vec<JavaType>,
123 Ok(JavaType::Method(sig)) => *sig, in from_str()
[all …]
/aosp_15_r20/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
H A DDeserializerCache.java37 final protected LRUMap<JavaType, JsonDeserializer<Object>> _cachedDeserializers;
44 final protected HashMap<JavaType, JsonDeserializer<Object>> _incompleteDeserializers
45 = new HashMap<JavaType, JsonDeserializer<Object>>(8);
136 DeserializerFactory factory, JavaType propertyType) in findValueDeserializer()
163 DeserializerFactory factory, JavaType type) in findKeyDeserializer()
183 DeserializerFactory factory, JavaType type) in hasValueDeserializerFor()
202 protected JsonDeserializer<Object> _findCachedDeserializer(JavaType type) in _findCachedDeserializer()
221 DeserializerFactory factory, JavaType type) in _createAndCacheValueDeserializer()
259 DeserializerFactory factory, JavaType type) in _createAndCache2()
315 DeserializerFactory factory, JavaType type) in _createDeserializer()
[all …]
/aosp_15_r20/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
H A DAnnotatedClassResolver.java12 import com.fasterxml.jackson.databind.JavaType;
40 private final JavaType _type;
49 AnnotatedClassResolver(MapperConfig<?> config, JavaType type, MixInResolver r) { in AnnotatedClassResolver()
83 public static AnnotatedClass resolve(MapperConfig<?> config, JavaType forType, in resolve()
96 public static AnnotatedClass resolveWithoutSuperTypes(MapperConfig<?> config, JavaType forType, in resolveWithoutSuperTypes()
135 List<JavaType> superTypes = new ArrayList<JavaType>(8); in resolveFully()
152 List<JavaType> superTypes = Collections.<JavaType>emptyList(); in resolveWithoutSuperTypes()
159 private static void _addSuperTypes(JavaType type, List<JavaType> result, in _addSuperTypes()
174 for (JavaType intCls : type.getInterfaces()) { in _addSuperTypes()
177 final JavaType superType = type.getSuperClass(); in _addSuperTypes()
[all …]

12345678910>>...36