mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-19 17:20:55 +07:00
16 lines
401 B
Java
16 lines
401 B
Java
// LocalsOrMyInstanceFieldsControlFlowPolicy
|
|
|
|
class MyTest {
|
|
void f(Object o, long childrenStamp, Object o2) {<caret>
|
|
long currentStamp;
|
|
if ((o instanceof String && childrenStamp != (currentStamp = 0))
|
|
||
|
|
(o2 instanceof Integer && childrenStamp != (currentStamp = 1))
|
|
)
|
|
{
|
|
childrenStamp = currentStamp;
|
|
}
|
|
}
|
|
|
|
}
|