I have a class with a lot of static classes inside, generated from a .xsd file. Is there a way to extract a interface of all static classes, keeping the original format (with inner interfaces)?
Single example:
Class:
public class Main {
  int a;
  public void do(){
    ...
  }
  public static class Inner {
    int b;
    public void foo(){
      ...
    }
  }
}
Interface:
public interface IMain {
  void do();
  interface IInner {
    void foo();
  }
}