code: @Nonnull
    public JSMethod method (@Nonnull @Nonempty final String sName)
    {
      final JSMethod aMethod = new JSMethod (this, sName);
      m_aMethods.add (aMethod);
      return aMethod;
    }
docs: Add a method to the list of method members of this JS class instance.
  
  @param sName
  Name of the method
  @return Newly generated method