Interface LoopHandler
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LoopHandler
Handler for loop statements (for, while, do-while, for-each).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Replacementhandle(EditorContext ctx, Statement loop)Handle a loop statement.
-
-
-
Method Detail
-
handle
Replacement handle(EditorContext ctx, Statement loop)
Handle a loop statement.- Parameters:
ctx- the editing contextloop- the loop statement- Returns:
- the replacement action
-
-