Files
openide/java/java-tests/testData/codeInsight/completion/normal/OrAssignmentDfa_after.java

18 lines
339 B
Java

class Foo {
boolean foo(Object o, final PairFunction<String, ElementType, Boolean> fun){
boolean result = true;
result |= fun.fun(path);
if (o instanceof String) {
((String) o).substring(<caret>)
}
}
void foo(String s) {}
}
interface PairFunction<T, V, U> {
U fun(T t, V v);
}