/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 42 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 …]
|
D | WireFormat.java | 84 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 …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/ |
D | TypeFactory.java | 8 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 …]
|
D | MapLikeType.java | 6 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 …]
|
D | PlaceholderForType.java | 3 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 …]
|
D | ResolvedRecursiveType.java | 3 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 …]
|
D | ReferenceType.java | 3 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 …]
|
D | CollectionLikeType.java | 6 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 …]
|
D | MapType.java | 5 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 …]
|
D | SimpleType.java | 5 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 …]
|
D | CollectionType.java | 5 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()
|
D | TypeBindings.java | 6 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 …]
|
D | TypeBase.java | 14 extends JavaType 20 private final static JavaType[] NO_TYPES = new JavaType[0]; 22 protected final JavaType _superClass; 24 protected final JavaType[] _superInterfaces; 43 … protected TypeBase(Class<?> raw, TypeBindings bindings, JavaType superClass, JavaType[] superInts, in TypeBase() 96 public JavaType containedType(int index) { in containedType() 107 public JavaType getSuperClass() { in getSuperClass() 112 public List<JavaType> getInterfaces() { in getInterfaces() 126 public final JavaType findSuperType(Class<?> rawTarget) in findSuperType() 134 JavaType type = _superInterfaces[i].findSuperType(rawTarget); in findSuperType() [all …]
|
D | ArrayType.java | 5 import com.fasterxml.jackson.databind.JavaType; 20 protected final JavaType _componentType; 29 protected ArrayType(JavaType componentType, TypeBindings bindings, Object emptyInstance, in ArrayType() 40 public static ArrayType construct(JavaType componentType, TypeBindings bindings) { in construct() 44 public static ArrayType construct(JavaType componentType, TypeBindings bindings, in construct() 52 public JavaType withContentType(JavaType contentType) { in withContentType() 115 protected JavaType _narrow(Class<?> subclass) { in _narrow() 122 public JavaType refine(Class<?> contentClass, TypeBindings bindings, in refine() 123 JavaType superClass, JavaType[] superInterfaces) { in refine() 127 private JavaType _reportUnsupported() { in _reportUnsupported() [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsonFormatVisitors/ |
D | JsonFormatVisitorWrapper.java | 3 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 …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | JavaType.java | 21 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 …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/ |
D | TestTypeFactory1604.java | 7 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 …]
|
D | TestTypeFactory.java | 132 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() 171 …JavaType 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() 187 … JavaType 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 …]
|
/external/jackson-databind/attic/ |
D | TypeBindings.java | 6 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 …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/ |
D | PolymorphicTypeValidator.java | 98 public abstract Validity validateBaseType(MapperConfig<?> config, JavaType baseType); in validateBaseType() 121 public abstract Validity validateSubClassName(MapperConfig<?> config, JavaType baseType, in validateSubClassName() 141 public abstract Validity validateSubType(MapperConfig<?> config, JavaType baseType, in validateSubType() 142 JavaType subType) throws JsonMappingException; in validateSubType() 156 public Validity validateBaseType(MapperConfig<?> config, JavaType baseType) { in validateBaseType() 161 …public Validity validateSubClassName(MapperConfig<?> config, JavaType baseType, String subClassNam… in validateSubClassName() 167 public Validity validateSubType(MapperConfig<?> config, JavaType baseType, JavaType subType) in validateSubType()
|
D | DefaultBaseTypeLimitingValidator.java | 6 import com.fasterxml.jackson.databind.JavaType; 28 public Validity validateBaseType(MapperConfig<?> config, JavaType baseType) in validateBaseType() 41 JavaType baseType, String subClassName) { in validateSubClassName() 47 public Validity validateSubType(MapperConfig<?> config, JavaType baseType, in validateSubType() 48 JavaType subType) in validateSubType() 75 protected boolean isUnsafeBaseType(MapperConfig<?> config, JavaType baseType) in isUnsafeBaseType() 90 JavaType baseType, JavaType subType) in isSafeSubType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotatedClassResolver.java | 12 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 …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | DeserializerCache.java | 37 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 …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | DeprecatedTypeHandling1102Test.java | 35 JavaType elem = SimpleType.construct(Point.class); in testSimplePOJOType() 46 JavaType elem = SimpleType.construct(Point3D.class); in testPOJOSubType() 58 JavaType elem = SimpleType.construct(Point.class); in testExplicitCollectionType() 59 JavaType t = CollectionType.construct(List.class, elem); in testExplicitCollectionType() 76 JavaType key = SimpleType.construct(String.class); in testExplicitMapType() 77 JavaType elem = SimpleType.construct(Point.class); in testExplicitMapType() 78 JavaType t = MapType.construct(Map.class, key, elem); in testExplicitMapType() 98 JavaType t = tf.constructType(Point.class, getClass()); in testDeprecatedTypeResolution() 102 JavaType t2 = tf.constructType(Point.class, (Class<?>) null); in testDeprecatedTypeResolution() 105 JavaType ctxt = tf.constructType(getClass()); in testDeprecatedTypeResolution() [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/exc/ |
D | ValueInstantiationException.java | 5 import com.fasterxml.jackson.databind.JavaType; 26 protected final JavaType _type; 29 JavaType type, Throwable cause) { in ValueInstantiationException() 35 JavaType type) { in ValueInstantiationException() 41 JavaType type) { in from() 46 JavaType type, Throwable cause) { in from() 54 public JavaType getType() { in getType()
|