if (isNewComment(d, c.offset)) {
if (JavaPlugin.getDefault().getPreferenceStore().getBoolean(CompilationUnitEditor.CLOSE_JAVADOCS) && isNewComment(d, c.offset)) {
	private void jdocIndentAfterNewLine(IDocument d, DocumentCommand c) {				if (c.offset == -1 || d.getLength() == 0)			return;					try {			// find start of line			int p= (c.offset == d.getLength() ? c.offset  - 1 : c.offset);			IRegion info= d.getLineInformationOfOffset(p);			int start= info.getOffset();							// find white spaces			int end= findEndOfWhiteSpace(d, start, c.offset);										StringBuffer buf= new StringBuffer(c.text);			if (end >= start) {	// 1GEYL1R: ITPJUI:ALL - java doc edit smartness not work for class comments				// append to input				String indentation= d.get(start, end - start);				buf.append(indentation);								if (end < c.offset) {					if (d.getChar(end) == '/') {						// javadoc started on this line						buf.append(" * ");	 //$NON-NLS-1$						if (isNewComment(d, c.offset)) {							String lineDelimiter= d.getLegalLineDelimiters()[0];							c.doit= false;							d.replace(c.offset, 0, lineDelimiter + indentation + " */"); //$NON-NLS-1$														// evaluate method signature							ICompilationUnit unit= getCompilationUnit();							if (unit != null) {								try {									unit.reconcile();									String string= createJavaDocTags(d, c, indentation, lineDelimiter, unit);									if (string != null)										d.replace(c.offset, 0, string);														} catch (CoreException e) {									// ignore								}							}						}											} else if (d.getChar(end) == '*') {						buf.append("* "); //$NON-NLS-1$					}				}						}									c.text= buf.toString();						} catch (BadLocationException excp) {			// stop work		}		}