Enclosing class Problem
Hello
I imported some java code which I need for our project. The import didn't work correctly with an enclosing class. Here the situation :
class A {
protected class B{
}
}
I would like to write
A objectA = new A();
B objectB = objectA.new B();
But MPS does not give me the option to type " new B() " after the " objectA. " .
Anyone knows how i can make an instance within an enclosing class? Changing class B to static is not really an option.
Thx
Jochen
Please sign in to leave a comment.
The "object.new X" syntax is only supported since MPS 3.4, unfortunately. You may try in the recent public preview release.