code: public static boolean isConstructor(Method m) {
      if (m.getName().equals("")) {
        throw new Error("method name cannot be empty");
      }
      return m.getName().equals("<init>");
    }
docs: Returns whether or not the method is a constructor.
  
  @param m the Method to test
  @return true iff the method is a constructor