code: private boolean isOperationMethod(Method method) {
      Class<?>[] paramTypes = method.getParameterTypes();
      return paramTypes.length == 1 && paramTypes[0] == Commit.class;
    }
docs: Returns a boolean value indicating whether the given method is an operation method.