}
@Override
public Void visitDefaultFormalParameter(DefaultFormalParameter node) {
SimpleIdentifier parameterName = node.getParameter().getIdentifier();
ParameterElement element = getElementForParameter(node, parameterName);
Expression defaultValue = node.getDefaultValue();
if (defaultValue != null) {
ExecutableElement outerExecutable = enclosingExecutable;
try {
if (element == null) {
// TODO(brianwilkerson) Report this internal error.
} else {
enclosingExecutable = element.getInitializer();
}
defaultValue.accept(this);
} finally {
enclosingExecutable = outerExecutable;
}
processElement(enclosingExecutable);
}
ParameterElement outerParameter = enclosingParameter;
try {
enclosingParameter = element;
processElement(enclosingParameter);
return super.visitDefaultFormalParameter(node);
} finally {