Apex classes can’t be static. And I also heard that 'all nested classed behave like Java static nested classes.'
In this case it should be possible to refer Inner1 from Inner2. But it fails with 'unexpected token: 'Inner1 ''
public class Outer {
public class Inner1 {
}
public class Inner2 {
public void foo() {
Inner1 i = new Inner1();
}
}
}