boolean (String parameterizedMethodName, String baseMethodName) { return parameterizedMethodName.startsWith(baseMethodName) && //methodName[ valid for any parameter for the current method. parameterizedMethodName.length() > baseMethodName.length() && parameterizedMethodName.substring(baseMethodName.length()).trim().startsWith("["); }