ByteCodeCompleter: fix handling of inner classes