Home
last modified time | relevance | path

Searched refs:nameForField (Results 1 – 4 of 4) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DTestNamingStrategyStd.java199 String translatedJavaName = PropertyNamingStrategy.SNAKE_CASE.nameForField(null, null, in testLowerCaseStrategyStandAlone()
273 …assertEquals("UserName", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "userNam… in testPascalCaseStandAlone()
274 … assertEquals("User", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "User")); in testPascalCaseStandAlone()
275 … assertEquals("User", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "user")); in testPascalCaseStandAlone()
276 assertEquals("X", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "x")); in testPascalCaseStandAlone()
278 …assertEquals("BADPublicName", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "bA… in testPascalCaseStandAlone()
318 PropertyNamingStrategy.KEBAB_CASE.nameForField(null, null, "someValue")); in testKebabCaseStrategyStandAlone()
320 PropertyNamingStrategy.KEBAB_CASE.nameForField(null, null, "SomeValue")); in testKebabCaseStrategyStandAlone()
322 PropertyNamingStrategy.KEBAB_CASE.nameForField(null, null, "URL")); in testKebabCaseStrategyStandAlone()
324 PropertyNamingStrategy.KEBAB_CASE.nameForField(null, null, "URLStuff")); in testKebabCaseStrategyStandAlone()
[all …]
DTestNamingStrategyCustom.java30 public String nameForField(MapperConfig<?> config, in nameForField() method in TestNamingStrategyCustom.PrefixStrategy
54 public String nameForField(MapperConfig<?> config, AnnotatedField field, String defaultName) in nameForField() method in TestNamingStrategyCustom.CStyleStrategy
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyNamingStrategy.java107 public String nameForField(MapperConfig<?> config, AnnotatedField field, in nameForField() method in PropertyNamingStrategy
181 public String nameForField(MapperConfig<?> config, AnnotatedField field, String defaultName) in nameForField() method in PropertyNamingStrategy.PropertyNamingStrategyBase
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DPOJOPropertiesCollector.java908 … rename = naming.nameForField(_config, prop.getField(), fullName.getSimpleName()); in _renameUsing()
916 … rename = naming.nameForField(_config, prop.getField(), fullName.getSimpleName()); in _renameUsing()