i.e. inheriting from the B in
public class A {
public static interface B { }
}
Chris
Thanks... I had tried that, but it hadn't worked in my context and so
I didn't persist with it.
It turns out that Yeti won't find the contained class or interface if
the containing one is in a different package, unless you name the
package explicitly when inheriting.
That is, if I have in Java
package p;
public class A {
public static interface B { }
}
then in Yeti I can do
import p: A;
class C extends p.A$B end;
but not
import p: A;
class C extends A$B end;
("Unknown class: A$B")
even though
import p: A;
class C extends A end;
works as expected.
Chris
Doh! Obvious as it seems in hindsight, I never thought of that. Thanks!
Chris