code: protected static boolean isFinalizeMethod(Method method) {
          return method.getReturnType() == void.class && method.getParameterTypes().length == 0 &&
                  method.getName().equals("finalize");
      }
docs: Checks if the method is derived from Object.finalize()
  
  @param method method being tested
  @return true if the method is defined from Object.finalize(), false otherwise