Fixed #544985 to handle Javadoc on variable declarations that span several lines

This commit is contained in:
Oliver Burn 2002-04-17 11:56:24 +00:00
parent 1b8483fc82
commit 44950d1ee4
3 changed files with 10 additions and 2 deletions

View File

@ -95,5 +95,3 @@ class LineText
}
}
}

View File

@ -43,4 +43,10 @@ class MyVariable
{
return mModifierSet;
}
/** @return the line number that the declaration starts on **/
int getLineNo()
{
return Math.min(super.getLineNo(), mModifierSet.getFirstLineNo());
}
}

View File

@ -134,5 +134,9 @@ class InputTags
{
int z = 2; // should not require any javadoc
}
/** handle where variable declaration over several lines **/
private static final int
ON_SECOND_LINE = 2;
}