TypeContext typeContext = getChild(context, TypeContext.class);
if (typeContext != null) {
formalParameter.setType(getAdapter(TypeAdapter.class).adapt(typeContext));
}
VariableDeclaratorIdContext variableDeclaratorIdContext =
getChild(context, VariableDeclaratorIdContext.class);
if (variableDeclaratorIdContext != null) {
TerminalNode identifierNode =
getTerminalNode(variableDeclaratorIdContext, JavaParser.Identifier);
if (identifierNode != null) {