code: private SelectionType getSelection(final Annotation[] annotations) {
          for (final Annotation annotation : annotations) {
              if (annotation instanceof Audit) {
                  final Audit audit = (Audit) annotation;
                  return audit.selection();
              }
          }
          return null;
      }
docs: Gets the selection.
  
  @param annotations
  the annotations
  @return the selection