CODEARTS IDE-向上/向下移动成员:重构前

时间:2024-04-16 15:05:25

重构前

class PullUp {

   public static void main(String[] args) {
      new InnerClass().print();
   }

   private static class InnerClass extends AbstractClass {
      public String myField;
      public void print() {
         System.out.println("Hello World");
      }
   }

   private static abstract class AbstractClass {
   }
}
support.huaweicloud.com/usermanual-codeartside/codeartside_01_0123.html