handle jmethodIDs in lua