private boolean hasParamAnnotation(Method method) {
      Annotation[][] paramAnnotationArrays = method.getParameterAnnotations();
      for (Annotation[] paramAnnotations : paramAnnotationArrays)
        for (Annotation paramAnnotation : paramAnnotations)
          if (paramAnnotation.annotationType().isAssignableFrom(Param.class)) return true;

      return false;
    }
 public Java8RestMethodWrapper(Object pOwner, Method pMethod) {
   super(pOwner, pMethod);
   try {
     mMethodHandle = MethodHandles.lookup().unreflect(pMethod).bindTo(pOwner);
     mParameterAnnotations = pMethod.getParameterAnnotations();
     mElementWrapper = pMethod.getAnnotation(XmlElementWrapper.class);
     mGenericReturnType = pMethod.getGenericReturnType();
     mReturnType = pMethod.getReturnType();
     mRestMethod = pMethod.getAnnotation(RestMethod.class);
     mDeclaringClass = pMethod.getDeclaringClass();
   } catch (IllegalAccessException e) {
     throw new RuntimeException(e);
   }
 }