code: public void isMethod(String template, Properties attributes) throws XDocletException
      {
          if (getCurrentMethod() != null) {
              generate(template);
          }
      }
docs: The <code>isMethod</code> processes the template body if the current member is a method.
  
  @param template              a <code>String</code> value
  @param attributes            a <code>Properties</code> value
  @exception XDocletException  if an error occurs
  @doc:tag                     type="block"