@Override
public Annotation adapt(AnnotationContext context) {
Annotation annotation = createNode(context);
AnnotationNameContext annotationNameContext = getChild(context, AnnotationNameContext.class);
if (annotationNameContext != null) {
QualifiedNameContext qualifiedNameContext =
getChild(annotationNameContext, QualifiedNameContext.class);
if (qualifiedNameContext != null) {
annotation.setName(getAdapter(QualifiedNameAdapter.class).adapt(qualifiedNameContext));