Code to dump methods in the example.
Be more insistent on finding enums in argument/return types.

If the arg/return doesn't have any explicit valid value mentions, try
using the name of the arg/method as a prefix for constants in the class.