Here you can find the source of getSetterName(Field field)
public static String getSetterName(Field field)
//package com.java2s; //License from project: Apache License import java.lang.reflect.Field; import java.util.Locale; public class Main { public static String getSetterName(Field field) { String name = field.getName(); return "set" + name.substring(0, 1).toUpperCase(Locale.US) + name.substring(1); }//from w ww.ja va 2s . c o m }