Here you can find the source of startWithLowerCase(String methodName)
public static String startWithLowerCase(String methodName)
//package com.java2s; //License from project: Apache License public class Main { public static String startWithLowerCase(String methodName) { if (methodName.length() > 1 && Character.isUpperCase(methodName.charAt(1))) return methodName; char firstChar = Character.toLowerCase(methodName.charAt(0)); return firstChar + methodName.substring(1); }// w ww. ja va 2s .c o m }