Here you can find the source of getMethodNameMinusGet(Method aMethod)
private static String getMethodNameMinusGet(Method aMethod)
//package com.java2s; //License from project: Apache License 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 w w w. j av a 2 s . c o m return result; } }