Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeInitializer.java
T
Artemiy Sartakov 6fbd5cc914 ConvertToLocalInspection: CR fixes (IDEA-CR-42222)
1. localVariableIsCopy -> isLocalVariableCopy
2. added more precise convert to local quick fix message (with info about to where field will be inlined)
3. fixed tests for new convert to local quick fix messages
4. removed inlineVariable(PsiVariable, PsiExpression)
2019-01-28 18:32:01 +07:00

11 lines
146 B
Java

// "Convert to local" "true"
class TestInitializer {
private boolean fie<caret>ld;
{
field = true;
System.out.println(field);
}
}