groovy for-in parser fix
[idea/community.git] / plugins / groovy / testdata / groovy / refactoring / rename / to_prop.test
1 class A {
2   def String foo = "asd"
3
4   def setFoo(asd){}
5
6   def getFoo(){"dsfsdf"}
7 }
8
9
10 A a = new A()
11
12 a.foo
13 a.getFoo()
14
15 a.foo = ""
16 a.<caret>setFoo("asd")
17 -----
18 class A {
19   def String foo = "asd"
20
21   def setNewName(asd){}
22
23   def getFoo(){"dsfsdf"}
24 }
25
26
27 A a = new A()
28
29 a.foo
30 a.getFoo()
31
32 a.newName = ""
33 a.setNewName("asd")