code: public static boolean isMonitorWait(String methodName, String methodSig) {
          return "wait".equals(methodName) && ("()V".equals(methodSig) || "(J)V".equals(methodSig) || "(JI)V".equals(methodSig));
      }
docs: Determine if method whose name and signature is specified is a monitor
  wait operation.
  
  @param methodName
  name of the method
  @param methodSig
  signature of the method
  @return true if the method is a monitor wait, false if not