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