convert field to local: reject when field is used from javadoc (IDEA-153332)

This commit is contained in:
Anna.Kozlova
2016-03-23 17:20:32 +01:00
parent 9e8666f159
commit a3b5e864db
2 changed files with 37 additions and 3 deletions
@@ -0,0 +1,17 @@
// "Convert to local" "false"
class TestFieldConversion
{
private static int som<caret>eInt = 0;
public TestFieldConversion()
{
int usingThatInt = someInt;
}
/**
* Referencing that value here {@value #someInt}
*/
public void someMethod() {
}
}