blockDeclaration.setStatic(hasTerminalNode(context, JavaParser.STATIC));
blockDeclaration.setBlock(getAdapter(BlockAdapter.class).adapt(blockContext));
return blockDeclaration;
}
MemberDeclarationContext memberDeclarationContext =
getChild(context, MemberDeclarationContext.class);
if (memberDeclarationContext != null) {
ClassMemberDeclaration memberDeclaration =
getAdapter(MemberDeclarationAdapter.class).adapt(memberDeclarationContext);
setModifiers(context, (NodeWithModifiers) memberDeclaration);