Interface ArrayAccessHandler
-
- 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 ArrayAccessHandler
Handler for array access expressions (array[index]).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classArrayAccessHandler.ArrayAccessTypeThe type of array access operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Replacementhandle(EditorContext ctx, ArrayAccessExpr access, ArrayAccessHandler.ArrayAccessType accessType)Handles an array access expression.
-
-
-
Method Detail
-
handle
Replacement handle(EditorContext ctx, ArrayAccessExpr access, ArrayAccessHandler.ArrayAccessType accessType)
Handles an array access expression.- Parameters:
ctx- the editing contextaccess- the array access expressionaccessType- whether this is a read or store operation- Returns:
- the replacement action
-
-