Here you can find the source of getMethodNameMinusGet(Method aMethod)
private static String getMethodNameMinusGet(Method aMethod)
//package com.java2s; //License from project: LGPL import java.lang.reflect.Method; public class Main { private static final String fGET = "get"; private static String getMethodNameMinusGet(Method aMethod) { String result = aMethod.getName(); if (result.startsWith(fGET)) { result = result.substring(fGET.length()); }/*from ww w . j ava2 s . co m*/ return result; } }