Jin Lee :
user7294900 :
You can add a nested class using Enclosing type
option
For example Class com.A, Add it as Enclosing type of new Class B
It will create a nested class B
public class A {
private static class B {
}
}
See more in Eclipse Help
Enclosing type Select this option to choose a type in which to enclose the new class.