DMethodElement (DRootElement rootElement, String containingClassName, String methodName, String[] parametersTypes) { DClassElement classElement = findClassElement(rootElement, containingClassName); if (classElement == null) return null; return classElement.getMethod(methodName, parametersTypes); }