TypeListContext typeListContext = getChild(context, TypeListContext.class);
if (typeListContext != null) {
classDeclaration.setImplementsTypes(getAdapter(TypeListAdapter.class).adapt(typeListContext));
}
ClassBodyContext classBodyContext = getChild(context, ClassBodyContext.class);
if (classBodyContext != null) {
classDeclaration.setMemberDeclarations(
getAdapter(ClassBodyAdapter.class).adapt(classBodyContext));
}