mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
18 lines
313 B
Java
18 lines
313 B
Java
// "Qualify static 'rr' access with reference to class 'R'|->Extract possible side effects" "true-preview"
|
|
|
|
class AClass
|
|
{
|
|
public static class R {
|
|
static int rr = 0;
|
|
}
|
|
public R getR() {
|
|
return null;
|
|
}
|
|
}
|
|
class ss {
|
|
void f(AClass d){
|
|
int i = <caret>d.getR().rr;
|
|
}
|
|
|
|
}
|