Here you can find the source of capitalizePropertyName(String propertyName)
private static String capitalizePropertyName(String propertyName)
//package com.java2s; //License from project: Open Source License public class Main { private static String capitalizePropertyName(String propertyName) { return propertyName.substring(0, 1).toUpperCase() + propertyName.substring(1); }/*from ww w. j a va 2 s.c o m*/ }