mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
convert field to local: reject when field is used from javadoc (IDEA-153332)
This commit is contained in:
+17
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user