code: private static String getResponseToFrom(String callerClassName, String callerMethodName) throws ServiceExecutionException
      {
          try
          {
              
              Class<?> clas = Class.forName(callerClassName);
              Method[] methods = clas.getMethods();
              for (Method method : methods)
              {
                  if (method.getName().equalsIgnoreCase(callerMethodName))
                  {
                      ResponseTo annotation = method.getAnnotation(ResponseTo.class);
                      return (null!=annotation)?annotation.value():null;                                                            
                  }
              }
              
          } catch (ClassNotFoundException ex)
          {
              throw new ServiceExecutionException(callerClassName, ex);
          }
          
          return null;
      }
docs: /*
  Utility method to extract the value of @ResponseTo for a method supposedly annotated.