Correctly handle one line classes with methods

If a class contains a method AND a one line class with a method, we need
to require docs for both the inner and outer class.