MethodRefParameter param = (MethodRefParameter) parameters.next();
org.eclipse.jdt.internal.compiler.ast.Expression expression = (org.eclipse.jdt.internal.compiler.ast.Expression) javadoc.getNodeStartingAt(param.getStartPosition());
if (expression != null) {
recordNodes(param, expression);
if (expression instanceof JavadocArgumentExpression) {
JavadocArgumentExpression argExpr = (JavadocArgumentExpression) expression;
org.eclipse.jdt.internal.compiler.ast.TypeReference typeRef = argExpr.argument.type;
if (this.ast.apiLevel >= AST.JLS3_INTERNAL) {
param.setVarargs(argExpr.argument.isVarArgs());
}
recordNodes(param.getType(), typeRef);