public static String getMethodComment(ICompilationUnit cu, String typeName, MethodDeclaration decl, IMethodBinding overridden) throws CoreException { if (overridden != null) { String declaringClassQualifiedName= overridden.getDeclaringClass().getQualifiedName(); String[] parameterTypesQualifiedNames= getParameterTypesQualifiedNames(overridden); return getMethodComment(cu, typeName, decl, true, overridden.isDeprecated(), declaringClassQualifiedName, parameterTypesQualifiedNames); } else { return getMethodComment(cu, typeName, decl, false, false, null, null); }
public static String getMethodComment(IMethod method, IMethod overridden) throws CoreException { String retType= method.isConstructor() ? null : method.getReturnType();  return getMethodComment(method.getCompilationUnit(), method.getDeclaringType().getElementName(), method.getElementName(), method.getParameterNames(), method.getExceptionTypes(), retType, overridden);
	public static String getMethodComment(ICompilationUnit cu, String typeName, MethodDeclaration decl, IMethodBinding overridden) throws CoreException {		if (overridden != null) {			String declaringClassQualifiedName= overridden.getDeclaringClass().getQualifiedName();			String[] parameterTypesQualifiedNames= getParameterTypesQualifiedNames(overridden);						return getMethodComment(cu, typeName, decl, true, overridden.isDeprecated(), declaringClassQualifiedName, parameterTypesQualifiedNames);		} else {			return getMethodComment(cu, typeName, decl, false, false, null, null);		}	}