mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 19:21:16 +07:00
19 lines
324 B
Java
19 lines
324 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){
|
|
d.getR();
|
|
int i = AClass.R.rr;
|
|
}
|
|
|
|
}
|