if (qualifiedNameListContext != null) {
methodDeclaration.setThrowsExceptions(
getAdapter(QualifiedNamesAdapter.class).adapt(qualifiedNameListContext));
}
MethodBodyContext methodBodyContext = getChild(context, MethodBodyContext.class);
if (methodBodyContext != null) {
BlockContext blockContext = getChild(methodBodyContext, BlockContext.class);
if (blockContext != null) {
methodDeclaration.setBody(getAdapter(BlockAdapter.class).adapt(blockContext));
}