buffer.append("    public String toString()\n" + "    {\n" + "        return new ToStringBuilder(this");
buffer.append("    public String toString()\n    {\n        return new ToStringBuilder(this");
    protected String createMethod(IType type) throws JavaModelException    {        StringBuffer buffer = new StringBuffer();        buffer.append(getJavadoc());        buffer.append("    public String toString()\n" + "    {\n" + "        return new ToStringBuilder(this"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$        if (CCPluginPreferences.getPreferences().useCustomToStringStyle())        {            buffer.append(", " + CCPluginPreferences.getPreferences().getToStringStyleClassAndConstant()); //$NON-NLS-1$        }        buffer.append(")\n"); //$NON-NLS-1$        if (CCPluginPreferences.getPreferences().appendSuperToToString())        {            buffer.append(".appendSuper(super.toString())\n"); //$NON-NLS-1$        }        if (CCPluginPreferences.getPreferences().useJavabeanToString())        {            buffer.append(buildAppenderListFromBean(type));        }        else        {            buffer.append(buildAppenderList(type));        }        buffer.append(".toString();\n}"); //$NON-NLS-1$        return buffer.toString();    }