[jni-signatures] Also check class and method names
Summary:
While not as complex as method signatures there's still potential for errors here, e.g. passing a signature where a name is expected.
This also fixes the check for static methods that didn't take the class name arg into account earlier
Reviewers: smartins
Reviewed By: smartins
Differential Revision: https://phabricator.kde.org/D29151