Home
last modified time | relevance | path

Searched refs:PropertyName (Results 1 – 25 of 102) sorted by relevance

12345

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyName.java15 public class PropertyName class
29 public final static PropertyName USE_DEFAULT = new PropertyName(_USE_DEFAULT, null);
36 public final static PropertyName NO_NAME = new PropertyName(new String(_NO_NAME), null);
60 public PropertyName(String simpleName) { in PropertyName() method in PropertyName
64 public PropertyName(String simpleName, String namespace) in PropertyName() method in PropertyName
90 public static PropertyName construct(String simpleName) in construct()
95 return new PropertyName(InternCache.instance.intern(simpleName), null); in construct()
98 public static PropertyName construct(String simpleName, String ns) in construct()
106 return new PropertyName(InternCache.instance.intern(simpleName), ns); in construct()
109 public PropertyName internSimpleName() in internSimpleName()
[all …]
DBeanProperty.java55 public PropertyName getFullName(); in getFullName()
68 public PropertyName getWrapperName(); in getWrapperName()
177 public List<PropertyName> findAliases(MapperConfig<?> config); in findAliases()
219 protected final PropertyName _name;
221 protected final PropertyName _wrapperName;
232 public Std(PropertyName name, JavaType type, PropertyName wrapperName, in Std()
246 public Std(PropertyName name, JavaType type, PropertyName wrapperName, in Std()
316 public List<PropertyName> findAliases(MapperConfig<?> config) { in findAliases()
323 @Override public PropertyName getFullName() { return _name; } in getFullName()
325 @Override public PropertyName getWrapperName() { return _wrapperName; } in getWrapperName()
[all …]
DAnnotationIntrospector.java245 public PropertyName findRootName(AnnotatedClass ac) { in findRootName()
588 public PropertyName findWrapperName(Annotated ann) { return null; } in findWrapperName()
648 public List<PropertyName> findPropertyAliases(Annotated ann) { return null; } in findPropertyAliases()
705 public PropertyName findRenameByField(MapperConfig<?> config, in findRenameByField()
706 AnnotatedField f, PropertyName implName) { in findRenameByField()
968 public PropertyName findNameForSerialization(Annotated a) { in findNameForSerialization()
1337 public PropertyName findNameForDeserialization(Annotated ann) { in findNameForDeserialization()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DSimpleBeanPropertyDefinition.java41 protected final PropertyName _fullName;
58 AnnotatedMember member, PropertyName fullName, PropertyMetadata metadata, in SimpleBeanPropertyDefinition()
75 member, PropertyName.construct(member.getName()), null, EMPTY_INCLUDE); in construct()
82 AnnotatedMember member, PropertyName name) { in construct()
92 AnnotatedMember member, PropertyName name, PropertyMetadata metadata, in construct()
106 AnnotatedMember member, PropertyName name, PropertyMetadata metadata, in construct()
124 _member, new PropertyName(newName), _metadata, _inclusion); in withSimpleName()
128 public BeanPropertyDefinition withName(PropertyName newName) { in withName()
168 public PropertyName getFullName() { return _fullName; } in getFullName()
171 public boolean hasName(PropertyName name) { in hasName()
[all …]
DRootNameLookup.java19 protected transient LRUMap<ClassKey,PropertyName> _rootNames;
22 _rootNames = new LRUMap<ClassKey,PropertyName>(20, 200); in RootNameLookup()
25 public PropertyName findRootName(JavaType rootType, MapperConfig<?> config) { in findRootName()
29 public PropertyName findRootName(Class<?> rootType, MapperConfig<?> config) in findRootName()
32 PropertyName name = _rootNames.get(key); in findRootName()
43 name = PropertyName.construct(rootType.getSimpleName()); in findRootName()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DObjectIdInfo.java7 import com.fasterxml.jackson.databind.PropertyName;
17 protected final PropertyName _propertyName;
26 …private final static ObjectIdInfo EMPTY = new ObjectIdInfo(PropertyName.NO_NAME, Object.class, nul…
28 … public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, in ObjectIdInfo()
34 …protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> ge… in ObjectIdInfo()
41 …protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> ge… in ObjectIdInfo()
65 public PropertyName getPropertyName() { return _propertyName; } in getPropertyName()
DPOJOPropertyBuilder.java48 protected final PropertyName _name;
54 protected final PropertyName _internalName;
75 boolean forSerialization, PropertyName internalName) { in POJOPropertyBuilder()
80 boolean forSerialization, PropertyName internalName, PropertyName name) in POJOPropertyBuilder()
90 protected POJOPropertyBuilder(POJOPropertyBuilder src, PropertyName newName) in POJOPropertyBuilder()
110 public POJOPropertyBuilder withName(PropertyName newName) { in withName()
117 PropertyName newName = _name.withSimpleName(newSimpleName); in withSimpleName()
158 public PropertyName getFullName() { in getFullName()
163 public boolean hasName(PropertyName name) { in hasName()
171 public PropertyName getWrapperName() { in getWrapperName()
[all …]
DBeanPropertyDefinition.java39 public abstract BeanPropertyDefinition withName(PropertyName newName); in withName()
61 public abstract PropertyName getFullName(); in getFullName()
66 public boolean hasName(PropertyName name) { in hasName()
83 public abstract PropertyName getWrapperName(); in getWrapperName()
DAnnotationIntrospectorPair.java106 public PropertyName findRootName(AnnotatedClass ac) in findRootName()
108 PropertyName name1 = _primary.findRootName(ac); in findRootName()
116 PropertyName name2 = _secondary.findRootName(ac); in findRootName()
466 public PropertyName findWrapperName(Annotated ann) { in findWrapperName()
467 PropertyName name = _primary.findWrapperName(ann); in findWrapperName()
470 } else if (name == PropertyName.USE_DEFAULT) { in findWrapperName()
472 PropertyName name2 = _secondary.findWrapperName(ann); in findWrapperName()
505 public List<PropertyName> findPropertyAliases(Annotated ann) { in findPropertyAliases()
506 List<PropertyName> r = _primary.findPropertyAliases(ann); in findPropertyAliases()
535 public PropertyName findRenameByField(MapperConfig<?> config, in findRenameByField()
[all …]
DJacksonAnnotationIntrospector.java282 public PropertyName findRootName(AnnotatedClass ac) in findRootName()
292 return PropertyName.construct(ann.value(), ns); in findRootName()
376 PropertyName n = _findConstructorName(m); in findImplicitPropertyName()
381 public List<PropertyName> findPropertyAliases(Annotated m) { in findPropertyAliases()
391 List<PropertyName> result = new ArrayList<>(len); in findPropertyAliases()
393 result.add(PropertyName.construct(strs[i])); in findPropertyAliases()
556 public PropertyName findRenameByField(MapperConfig<?> config, in findRenameByField()
557 AnnotatedField f, PropertyName implName) { in findRenameByField()
645 PropertyName name = PropertyName.construct(info.property()); in findObjectIdInfo()
1002 PropertyName propName = _propertyName(attr.propName(), attr.propNamespace()); in _constructVirtualProperty()
[all …]
DPOJOPropertiesCollector.java106 protected Map<PropertyName, PropertyName> _fieldRenameMappings;
413 final PropertyName implNameP = _propNameFromSimple(implName); in _addFields()
418 final PropertyName rename = ai.findRenameByField(_config, f, implNameP); in _addFields()
427 PropertyName pn; in _addFields()
515 PropertyName pn = _annotationIntrospector.findNameForDeserialization(param); in _addCreatorParam()
529 pn = PropertyName.construct(impl); in _addCreatorParam()
611 PropertyName pn = ai.findNameForSerialization(m); in _addGetterMethod()
656 PropertyName pn = (ai == null) ? null : ai.findNameForDeserialization(m); in _addSetterMethod()
727 private PropertyName _propNameFromSimple(String simpleName) { in _propNameFromSimple()
728 return PropertyName.construct(simpleName, null); in _propNameFromSimple()
[all …]
DConcreteBeanPropertyBase.java11 import com.fasterxml.jackson.databind.PropertyName;
35 protected transient List<PropertyName> _aliases;
109 public List<PropertyName> findAliases(MapperConfig<?> config) in findAliases()
111 List<PropertyName> aliases = _aliases; in findAliases()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/exc/
DInvalidNullException.java5 import com.fasterxml.jackson.databind.PropertyName;
22 protected final PropertyName _propertyName;
31 PropertyName pname) in InvalidNullException()
38 PropertyName name, JavaType type) in from()
49 public PropertyName getPropertyName() { in getPropertyName()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DCreatorCandidate.java5 import com.fasterxml.jackson.databind.PropertyName;
44 public PropertyName paramName(int i) { in paramName()
52 public PropertyName explicitParamName(int i) { in explicitParamName()
62 public PropertyName findImplicitParamName(int i) { in findImplicitParamName()
65 return PropertyName.construct(str); in findImplicitParamName()
107 public PropertyName fullName() { in fullName()
118 PropertyName n = propDef.getFullName(); in hasFullName()
DObjectIdReader.java23 public final PropertyName propertyName;
48 protected ObjectIdReader(JavaType t, PropertyName propName, ObjectIdGenerator<?> gen, in ObjectIdReader()
64 public static ObjectIdReader construct(JavaType idType, PropertyName propName, in construct()
DBeanPropertyMap.java15 import com.fasterxml.jackson.databind.PropertyName;
74 private final Map<String,List<PropertyName>> _aliasDefs;
96 Map<String,List<PropertyName>> aliasDefs, in BeanPropertyMap()
113 Map<String,List<PropertyName>> aliasDefs) { in BeanPropertyMap()
278 Map<String,List<PropertyName>> aliasMapping, in construct()
292 Map<String,List<PropertyName>> aliasMapping) { in construct()
303 boolean caseInsensitive, Map<String,List<PropertyName>> aliasMapping) { in construct()
816 private Map<String,String> _buildAliasMapping(Map<String,List<PropertyName>> defs, in _buildAliasMapping()
823 for (Map.Entry<String,List<PropertyName>> entry : defs.entrySet()) { in _buildAliasMapping()
828 for (PropertyName pn : entry.getValue()) { in _buildAliasMapping()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DSettableBeanProperty.java43 protected final PropertyName _propName;
53 protected final PropertyName _wrapperName;
140 protected SettableBeanProperty(PropertyName propName, JavaType type, PropertyName wrapper, in SettableBeanProperty()
151 _propName = PropertyName.NO_NAME; in SettableBeanProperty()
174 protected SettableBeanProperty(PropertyName propName, JavaType type, in SettableBeanProperty()
180 _propName = PropertyName.NO_NAME; in SettableBeanProperty()
244 protected SettableBeanProperty(SettableBeanProperty src, PropertyName newName) in SettableBeanProperty()
281 public abstract SettableBeanProperty withName(PropertyName newName); in withName()
287 PropertyName n = (_propName == null) in withSimpleName()
288 ? new PropertyName(simpleName) : _propName.withSimpleName(simpleName); in withSimpleName()
[all …]
DCreatorProperty.java81 protected CreatorProperty(PropertyName name, JavaType type, PropertyName wrapperName, in CreatorProperty()
98 public CreatorProperty(PropertyName name, JavaType type, PropertyName wrapperName, in CreatorProperty()
128 …public static CreatorProperty construct(PropertyName name, JavaType type, PropertyName wrapperName, in construct()
141 protected CreatorProperty(CreatorProperty src, PropertyName newName) { in CreatorProperty()
161 public SettableBeanProperty withName(PropertyName newName) { in withName()
DBeanDeserializerBuilder.java221 public void addInjectable(PropertyName propName, JavaType propType, in addInjectable()
317 public SettableBeanProperty findProperty(PropertyName propertyName) { in findProperty()
321 public boolean hasProperty(PropertyName propertyName) { in hasProperty()
325 public SettableBeanProperty removeProperty(PropertyName name) { in removeProperty()
548 protected Map<String,List<PropertyName>> _collectAliases(Collection<SettableBeanProperty> props) in _collectAliases()
550 Map<String,List<PropertyName>> mapping = null; in _collectAliases()
554 List<PropertyName> aliases = intr.findPropertyAliases(prop.getMember()); in _collectAliases()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DJava7SupportImpl.java6 import com.fasterxml.jackson.databind.PropertyName;
48 public PropertyName findConstructorName(AnnotatedParameter p) in findConstructorName()
57 return PropertyName.construct(names[ix]); in findConstructorName()
/external/igt-gpu-tools/overlay/
Dtracepoint_format.leg2 'name' ':' Space n:PropertyName EndLine { free(n.string); }
23 | n:PropertyName ':' v:PropertyValue
26 PropertyName = < [A-Za-z0-9_]+ >
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DMapperConfigBase.java73 protected final PropertyName _rootName;
209 protected MapperConfigBase(MapperConfigBase<CFG,T> src, PropertyName rootName) { in MapperConfigBase()
529 public abstract T withRootName(PropertyName rootName); in withRootName()
533 return withRootName((PropertyName) null); in withRootName()
535 return withRootName(PropertyName.construct(rootName)); in withRootName()
581 public final PropertyName getFullRootName() { in getFullRootName()
747 public PropertyName findRootName(JavaType rootType) { in findRootName()
755 public PropertyName findRootName(Class<?> rawRootType) { in findRootName()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DPropertyMetadataTest.java10 PropertyName name = PropertyName.NO_NAME; in testPropertyName()
24 PropertyName newName = name.withNamespace(""); in testPropertyName()
DTestAnnotationBundles.java13 import com.fasterxml.jackson.databind.PropertyName;
102 public PropertyName findNameForSerialization(Annotated a) in findNameForSerialization()
106 return PropertyName.construct("important"); in findNameForSerialization()
DIsGetterRenaming2527Test.java54 public PropertyName findRenameByField(MapperConfig<?> config, in findRenameByField()
55 AnnotatedField f, PropertyName implName) in findRenameByField()
62 return PropertyName.construct(mangledName); in findRenameByField()

12345