Home
last modified time | relevance | path

Searched refs:decapitalize (Results 1 – 8 of 8) sorted by relevance

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
DUtilsTest.java63 decapitalize(""); in decapitalizeOnEmptyString()
68 assertEquals("f", decapitalize("F")); in decapitalizeOnStringOfOneCharacter()
73 assertEquals("fo", decapitalize("Fo")); in decapitalizeOnStringOfTwoCharacters()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DCodeGenerationUtils.java9 import static com.github.javaparser.utils.Utils.decapitalize;
26 return decapitalize(getterName.substring("is".length())); in getterToPropertyName()
28 return decapitalize(getterName.substring("get".length())); in getterToPropertyName()
30 return decapitalize(getterName.substring("has".length())); in getterToPropertyName()
DUtils.java183 public static String decapitalize(String s) { in decapitalize() method in Utils
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DInitializePropertyMetaModelsStatementsGenerator.java17 import static com.github.javaparser.utils.Utils.decapitalize;
31 optionalOf(decapitalize(nodeMetaModelName(fieldType)), isNode(fieldType)), in generate()
55 … optionalOf(decapitalize(nodeMetaModelName(innermostReturnType)), isNode(innermostReturnType)), in generateDerivedProperty()
DNodeMetaModelGenerator.java24 import static com.github.javaparser.utils.Utils.decapitalize;
32 final String nodeMetaModelFieldName = decapitalize(className); in generate()
43 optionalOf(decapitalize(superNodeMetaModel), !isRootNode)))); in generate()
DMetaModelGenerator.java25 import static com.github.javaparser.utils.Utils.decapitalize;
204 return decapitalize(nodeMetaModelName(nodeClass)); in nodeMetaModelFieldName()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DBaseNodeMetaModel.java9 import static com.github.javaparser.utils.Utils.decapitalize;
178 return decapitalize(getClass().getSimpleName()); in getMetaModelFieldName()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java56 import static com.github.javaparser.utils.Utils.decapitalize;
485 return ObservableProperty.fromCamelCaseName(decapitalize(name));
498 return ObservableProperty.fromCamelCaseName(decapitalize(name));