Interface ReturnHandler
-
- 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 ReturnHandler
Handler for return statements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Replacementhandle(EditorContext ctx, ReturnStmt returnStmt)Handle a return statement.
-
-
-
Method Detail
-
handle
Replacement handle(EditorContext ctx, ReturnStmt returnStmt)
Handle a return statement.- Parameters:
ctx- the editing contextreturnStmt- the return statement- Returns:
- the replacement action
-
-