&& !lastLineIsBlank) {
insertNewLineForPHPDoc();
appendToBuffer(" "); //$NON-NLS-1$
}
for (int i = 0; i < tags.length; i++) {
PHPDocTag phpDocTag = tags[i];
boolean insertTag = true;
String[] words = phpDocTag.getDescTexts();
if ((i == tags.length - 1)
&& !this.preferences.comment_new_lines_at_javadoc_boundaries) {
words = getNonblankWords(words);
}
commentWords = new ArrayList<String>();
if (getNonblankWords(words).length == 0) {
boolean hasRefs = phpDocTag
.getReferencesWithOrigOrder().length != 0;
int nbLines = words.length;
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=433938
if (!hasRefs && nbLines > 1) {
nbLines--;