create constant from usage: set static/final before insert field in order to get correct anchor (IDEA-100867)

This commit is contained in:
anna
2013-02-14 21:15:36 +01:00
parent 2794f2c106
commit 3de6d80c2e
4 changed files with 24 additions and 13 deletions
@@ -0,0 +1,5 @@
// "Create Constant Field 'SOME_REGEXP'" "true"
class IntroduceConstant {
private static final String SOME_REGEXP = ;
private static final String SOME_PATTERN = SOME_REGEXP;
}
@@ -0,0 +1,4 @@
// "Create Constant Field 'SOME_REGEXP'" "true"
class IntroduceConstant {
private static final String SOME_PATTERN = SOME_RE<caret>GEXP;
}