code: public static Method copyMethod(Method method) {
  		try {
  			if (jlrMethodRootField != null) {
  				jlrMethodRootField.set(method, null);
  			}
  			return (Method) jlrMethodCopy.invoke(method);
  		}
  		catch (Exception e) {
  			log.log(Level.SEVERE, "Problems copying method. Incompatible JVM?", e);
  			return method; // return original as the best we can do
  		}
  	}
docs: /*
  Creates a copy of a method object that is equivalent to the original.