code: public List<MethodNode> getDeclaredMethods(String name) {
          if (redirect!=null) return redirect().getDeclaredMethods(name);
          lazyClassInit();
          return methods.getNotNull(name);
      }
docs: This methods returns a list of all methods of the given name
  defined in the current class
  @return the method list
  @see #getMethods(String)