summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/test/com/siyeh/igfixes/performance/inner_class_static/Simple.after.java
blob: 973bfc5b6e06854fcfd4afe75ebcdab51fa1fe60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package performance.inner_class_static;

class Simple {
  static class Inner {}

  void m() {
    new Inner();
  }

  static void s(Simple s) {
    new Inner();
  }
}
class X {
  X() {
    new Simple.Inner();
  }
}