return getName().equalsIgnoreCase(method.getName());
return (method != null) && getName().equalsIgnoreCase(method.getName());
   public boolean equals(Method method)   {      return getName().equalsIgnoreCase(method.getName());   }