TypeContext typeContext = getChild(annotationTypeElementRestContext,
TypeContext.class);
if (typeContext != null) {
Type type = getAdapter(TypeAdapter.class).adapt(typeContext);
AnnotationMethodOrConstantRestContext annotationMethodOrConstantRestContext = getChild(
annotationTypeElementRestContext,
AnnotationMethodOrConstantRestContext.class);
if (annotationMethodOrConstantRestContext != null) {
AnnotationMethodRestContext annotationMethodRestContext = getChild(
annotationMethodOrConstantRestContext,