?
-
I have this error "No enclosing instance of type ... is available due to
some intermediate constructor invocation." for a class with this structure:
public abstract class A1 extends A {
public A1(Object o) {
super(o);
}
public class B1 extends B {
public B1(Object o) {
super(o); <---- error here
}
}
private class B extends A1 {
public B(Object o) {
super(o);
}
}
}
some intermediate constructor invocation." for a class with this structure:
public abstract class A1 extends A {
public A1(Object o) {
super(o);
}
public class B1 extends B {
public B1(Object o) {
super(o); <---- error here
}
}
private class B extends A1 {
public B(Object o) {
super(o);
}
}
}