[pylucene-dev] no stubs for inner classes

Bill Janssen janssen at parc.com
Wed Mar 5 18:03:40 PST 2008


So, I'm stubbing a class that looks like this:

  class GoodStuff {

      public static class Frob {
      }

  }

I invoke JCC with "--classpath MyJar.jar GoodStuff GoodStuff$Frob",
which it's happy with, but I can't find any evidence that it generates
any support for GoodStuff.Frob.

I think the problem is that I should be saying "GoodStuff.Frob", but
that doesn't seem to work because of this code in jcc/cpp.py:

    cls = env.findClass(className.replace('.', '/'))

Bill




More information about the pylucene-dev mailing list