Verify that UDF class methods are static

Patch by Tyler Hobbs; review by Robert Stupp for CASSANDRA-7781