gud の jdb って実はインナークラスに対応してた。

gud-find-class でごにょごにょやって対応してるんだけど。だけど。。。

          (if (and fbuffer (equal (symbol-file 'java-mode) "cc-mode"))

ってなってるから、無効になってる罠w

symbol-file の docstring には

The value is normally an absolute file name.  It can also be nil,
if the definition is not associated with any file.  If SYMBOL
specifies an autoloaded function, the value can be a relative
file name without extension.

ってあるから、autoload 宣言されてて実際にロードされるまではさっきの式は真になる。やっぱ意味ないよな。

          (if (and fbuffer (eq major-mode 'java-mode))

じゃだめなのかなぁ。もったいなさすぎる。emacs-devel 行きかね。