Home
last modified time | relevance | path

Searched refs:TypeBindings (Results 1 – 25 of 27) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeBindings.java12 public class TypeBindings class
21 private final static TypeBindings EMPTY = new TypeBindings(NO_STRINGS, NO_TYPES, null);
52 private TypeBindings(String[] names, JavaType[] types, String[] uvars) in TypeBindings() method in TypeBindings
67 public static TypeBindings emptyBindings() { in emptyBindings()
83 public static TypeBindings create(Class<?> erasedType, List<JavaType> typeList) in create()
90 public static TypeBindings create(Class<?> erasedType, JavaType[] types) in create()
117 return new TypeBindings(names, types, null); in create()
120 public static TypeBindings create(Class<?> erasedType, JavaType typeArg1) in create()
129 return new TypeBindings(new String[] { vars[0].getName() }, in create()
133 public static TypeBindings create(Class<?> erasedType, JavaType typeArg1, JavaType typeArg2) in create()
[all …]
DTypeFactory.java49 protected final static TypeBindings EMPTY_BINDINGS = TypeBindings.emptyBindings();
424TypeBindings.create(subclass, baseType.getKeyType(), baseType.getContentType())); in constructSpecializedType()
433 TypeBindings.create(subclass, baseType.getContentType())); in constructSpecializedType()
456 TypeBindings tb = _bindingsForSubtype(baseType, typeParamCount, in constructSpecializedType()
468 private TypeBindings _bindingsForSubtype(JavaType baseType, int typeParamCount, in _bindingsForSubtype()
475 TypeBindings b = TypeBindings.create(subclass, placeholders); in _bindingsForSubtype()
507 return TypeBindings.create(subclass, typeParams); in _bindingsForSubtype()
649 public JavaType[] findTypeParameters(Class<?> clz, Class<?> expType, TypeBindings bindings) { in findTypeParameters()
709 public JavaType constructType(Type type, TypeBindings bindings) { in constructType()
757 TypeBindings bindings; in constructType()
[all …]
DSimpleType.java33 this(cls, TypeBindings.emptyBindings(), null, null); in SimpleType()
36 protected SimpleType(Class<?> cls, TypeBindings bindings, in SimpleType()
51 protected SimpleType(Class<?> cls, TypeBindings bindings, in SimpleType()
64 protected SimpleType(Class<?> cls, TypeBindings bindings, in SimpleType()
116 TypeBindings b = TypeBindings.emptyBindings(); in construct()
209 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
282 private static JavaType _buildSuperClass(Class<?> superClass, TypeBindings b) in _buildSuperClass()
322 TypeBindings b1 = _bindings; in equals()
323 TypeBindings b2 = other._bindings; in equals()
DCollectionType.java21 private CollectionType(Class<?> collT, TypeBindings bindings, in CollectionType()
38 public static CollectionType construct(Class<?> rawType, TypeBindings bindings, in construct()
52 TypeBindings bindings; in construct()
54 bindings = TypeBindings.emptyBindings(); in construct()
56 bindings = TypeBindings.create(rawType, elemT); in construct()
118 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
DMapType.java20 private MapType(Class<?> mapType, TypeBindings bindings, in MapType()
37 public static MapType construct(Class<?> rawType, TypeBindings bindings, in construct()
49 TypeBindings bindings; in construct()
51 bindings = TypeBindings.emptyBindings(); in construct()
53 bindings = TypeBindings.create(rawType, keyT, valueT); in construct()
124 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
DCollectionLikeType.java30 protected CollectionLikeType(Class<?> collT, TypeBindings bindings, in CollectionLikeType()
51 public static CollectionLikeType construct(Class<?> rawType, TypeBindings bindings, in construct()
66 TypeBindings bindings; in construct()
68 bindings = TypeBindings.emptyBindings(); in construct()
70 bindings = TypeBindings.create(rawType, elemT); in construct()
160 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
DTypeBase.java19 private final static TypeBindings NO_BINDINGS = TypeBindings.emptyBindings();
33 protected final TypeBindings _bindings;
43 … protected TypeBase(Class<?> raw, TypeBindings bindings, JavaType superClass, JavaType[] superInts, in TypeBase()
86 public TypeBindings getBindings() { in getBindings()
DArrayType.java29 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()
122 public JavaType refine(Class<?> contentClass, TypeBindings bindings, in refine()
DResolvedRecursiveType.java16 public ResolvedRecursiveType(Class<?> erasedType, TypeBindings bindings) { in ResolvedRecursiveType()
41 public TypeBindings getBindings() { in getBindings()
105 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
DMapLikeType.java35 protected MapLikeType(Class<?> mapType, TypeBindings bindings, in MapLikeType()
79 TypeBindings bindings; in construct()
81 bindings = TypeBindings.emptyBindings(); in construct()
83 bindings = TypeBindings.create(rawType, keyT, valueT); in construct()
182 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
DReferenceType.java29 protected ReferenceType(Class<?> cls, TypeBindings bindings, in ReferenceType()
79 public static ReferenceType construct(Class<?> cls, TypeBindings bindings, in construct()
88 return new ReferenceType(cls, TypeBindings.emptyBindings(), in construct()
155 public JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
DTypeParser.java54 TypeBindings b = TypeBindings.create(base, parameterTypes); in parseType()
60 return _factory._fromClass(null, base, TypeBindings.emptyBindings()); in parseType()
DPlaceholderForType.java25 super(Object.class, TypeBindings.emptyBindings(), in PlaceholderForType()
82 …public JavaType refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] su… in refine()
DTypeModifier.java34 public abstract JavaType modifyType(JavaType type, Type jdkType, TypeBindings context, in modifyType()
/external/jackson-databind/attic/
DTypeBindings.java12 public class TypeBindings class
60 private final TypeBindings _parentBindings;
68 public TypeBindings(TypeFactory typeFactory, ClassStack stack, Class<?> cc) in TypeBindings() method in TypeBindings
73 public TypeBindings(TypeFactory typeFactory, ClassStack stack, JavaType type) in TypeBindings() method in TypeBindings
84 public TypeBindings childInstance() { in childInstance()
85 return new TypeBindings(_typeFactory, this, _classStack, _contextClass, _contextType); in childInstance()
88 private TypeBindings(TypeFactory tf, TypeBindings parent, ClassStack stack, in TypeBindings() method in TypeBindings
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DTypeResolutionContext.java6 import com.fasterxml.jackson.databind.type.TypeBindings;
22 private final TypeBindings _bindings;
24 public Basic(TypeFactory tf, TypeBindings b) { in Basic()
DAnnotatedClass.java11 import com.fasterxml.jackson.databind.type.TypeBindings;
46 final protected TypeBindings _bindings;
136 Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, in AnnotatedClass()
154 Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, in AnnotatedClass()
173 _bindings = TypeBindings.emptyBindings(); in AnnotatedClass()
DAnnotatedClassResolver.java15 import com.fasterxml.jackson.databind.type.TypeBindings;
38 private final TypeBindings _bindings;
70 _bindings = TypeBindings.emptyBindings(); in AnnotatedClassResolver()
DBasicBeanDescription.java15 import com.fasterxml.jackson.databind.type.TypeBindings;
277 public TypeBindings bindingsForBeanType() { in bindingsForBeanType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeBindings.java66 TypeBindings b = TypeBindings.create(Collection.class, in testBindingsBasics()
83 TypeBindings.create(AbstractType.class, unknown); in testInvalidBindings()
DTestJavaType.java285 TypeBindings bindings = t.getBindings(); in testConstructReferenceType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestTypeModifierNameResolution.java6 import com.fasterxml.jackson.databind.type.TypeBindings;
35 …public JavaType modifyType(JavaType type, Type jdkType, TypeBindings context, TypeFactory typeFact… in modifyType()
DTestTypeModifiers.java195 …public JavaType modifyType(JavaType type, Type jdkType, TypeBindings bindings, TypeFactory typeFac… in modifyType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJavaType.java7 import com.fasterxml.jackson.databind.type.TypeBindings;
198 public abstract JavaType refine(Class<?> rawType, TypeBindings bindings, in refine()
432 public abstract TypeBindings getBindings(); in getBindings()
DBeanDescription.java11 import com.fasterxml.jackson.databind.type.TypeBindings;
87 public abstract TypeBindings bindingsForBeanType(); in bindingsForBeanType()

12