Convert Java thread to regex loop in Eclipse IDE

I am using Eclipse Oxygen. Offten I need to convert a Java thread into a regular loop forand back.

This is a Java 8 thread expression:

taskDao.getChildTask(foundTask).stream().forEach(t-> {
    setResult(t, null);
});

Is it possible to use some key or shortcut in the Eclipse IDE to automatically convert this expression to a regular loop for:

for (Task t : taskDao.getChildTask(foundTask)) {
    setResult(t, null);
}

Is it possible?

+4
source share
1 answer

No , the function request has not yet : see Eclipse Error 431967

+4
source

Source: https://habr.com/ru/post/1684349/


All Articles