added support for Class params passed to WeaveMenuItem.createItems()

Change-Id: I5b6e33954f6de92585124b9356333a404709153d