code: private Remote getRemoteAnnotation(Annotated annotated) {
        Remote remote = annotated.getAnnotation(Remote.class);
  
        if (remote == null) {
           remote = getMetaAnnotation(annotated, Remote.class);
        }
        return remote;
     }
docs: Retrieves the {@link Remote} annotation instance on the given annotated element.
  
  @param annotated the annotated element.
  @return the {@link Remote} annotation instance or {@code null} if not found.