if (typeParametersContext != null) {
classDeclaration.setTypeParameters(
getAdapter(TypeParametersAdapter.class).adapt(typeParametersContext));
}
TypeContext typeContext = getChild(context, TypeContext.class);
if (typeContext != null) {
classDeclaration.setExtendsType(getAdapter(TypeAdapter.class).adapt(typeContext));
}
TypeListContext typeListContext = getChild(context, TypeListContext.class);