Get visibility for a method name.