import java.util.List;
import java.util.Comparator;
public class FindUtil {
private static final Key<Direction> KEY = Key.create("FindUtil.KEY");
private FindUtil() {}
<BUG>private static enum Direction {
UP, DOWN</BUG>
}
public static void findWordAtCaret(Project project, Editor editor) {
int caretOffset = editor.getCaretModel().getOffset();

import java.util.List;
import java.util.Comparator;
public class FindUtil {
private static final Key<Direction> KEY = Key.create("FindUtil.KEY");
private FindUtil() {}
private enum Direction {
UP, DOWN
}
public static void findWordAtCaret(Project project, Editor editor) {
int caretOffset = editor.getCaretModel().getOffset();
