for (Annotation annotation : javaMethod.getAnnotations()) {
Annotation methodAnnotation = annotation.annotationType()
.getAnnotation(org.restlet.client.engine.Method.class);
if (methodAnnotation != null) {
Method restletMethod = Method
.valueOf(((org.restlet.client.engine.Method) methodAnnotation)
.value());
String toString = annotation.toString();
int startIndex = annotation.annotationType()