DMethodElement (String methodName, String[] parametersTypes) { for (DMethodElement method : myMethods) { final List<ParamInfo> myPairList = method.getPairs(); if (method.getName().equals(methodName) && Arrays.equals(QuickfixUtil.getArgumentsTypes(myPairList), parametersTypes)) return method; } return null; }