-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for issue #390: visit statically-compiled enum constant members
- Loading branch information
1 parent
6c3e2ad
commit c4fa59e
Showing
7 changed files
with
136 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...aus.groovy.eclipse.refactoring.test/resources/RenameMethod/testEnumOverrides2/in/A.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package p; | ||
|
||
import groovy.transform.CompileStatic; | ||
|
||
@CompileStatic | ||
enum A { | ||
|
||
A() { | ||
@Override | ||
String getFoo() { | ||
'bar' | ||
} | ||
}, | ||
|
||
B() { | ||
@Override | ||
String getFoo() { | ||
'baz' | ||
} | ||
} | ||
|
||
String getFoo() { | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...us.groovy.eclipse.refactoring.test/resources/RenameMethod/testEnumOverrides2/out/A.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package p; | ||
|
||
import groovy.transform.CompileStatic; | ||
|
||
@CompileStatic | ||
enum A { | ||
|
||
A() { | ||
@Override | ||
String foo() { | ||
'bar' | ||
} | ||
}, | ||
|
||
B() { | ||
@Override | ||
String foo() { | ||
'baz' | ||
} | ||
} | ||
|
||
String foo() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters