Java tutorial
//package com.java2s; //License from project: Apache License public class Main { /** * * * @param propertyName * @return */ private static String getIsName(String propertyName) { String method = "is" + propertyName.substring(0, 1).toUpperCase() + propertyName.substring(1); return method; } }