code: protected Method find_method(Method[] meth_list,String meth_name) throws DevFailed
  	{
  		int i;
  		Method meth_found = null;
  		
  		for (i = 0;i < meth_list.length;i++)
  		{
  			if (meth_name.equals(meth_list[i].getName()))
  			{
  				for (int j = i + 1;j < meth_list.length;j++)
  				{
  					if (meth_name.equals(meth_list[j].getName()))
  					{
  						StringBuffer mess = new StringBuffer("Method overloading is not supported for command (Method name = ");
  						mess.append(meth_name);
  						mess.append(")");
  						Except.throw_exception("API_OverloadingNotSupported",
  								     mess.toString(),
  				  	  	  		     "TemplCommand.find_method()");
  					}
  						
  				}					
  				meth_found = meth_list[i];		
  				break;
  			}
  		}
  		if (i == meth_list.length)
  		{
  			StringBuffer mess = new StringBuffer("Command ");
  			mess.append(name);
  			mess.append(": Can't find method ");
  			mess.append(meth_name);
  
  			Except.throw_exception("API_MethodNotFound",
  					     mess.toString(),
  				  	     "TemplCommand.find_method()");
  		}
  		
  		return meth_found;
  	}
docs: Retrieve a Method object from a Method list from its name.
  
  @param meth_list The Method object list
  @return The wanted method
  @exception DevFailed If the method is not known or if two methods are found
  with the same name
  Click <a href="../../tango_basic/idl_html/Tango.html#DevFailed">here</a> to read
  <b>DevFailed</b> exception specification