code: private String[] getProduces( Produces baseProduces, ExecutableElement method ) {
          Produces localProduces = method.getAnnotation( Produces.class );
          return localProduces != null ? localProduces.value() : baseProduces != null ? baseProduces.value() : null;
      }
docs: @param method the method to check
  
  @return the Produces annotation found or null if the method does not have one