summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/refactoring/inplaceIntroduceParameter/localInsideAnonymous.java
blob: 932201e43ce57e23510da3555b0891fed59ad339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Abc {
  void foo() {
    final String name = "name";

    new Runnable(){
      @Override
      public void run() {
        foo();

      }

      private void foo() {
        System.out.println(na<caret>me);
      }
    };
  }
}