don't produce method_entry if the class does not have methods