change name of add method as it makes sense

This commit is contained in:
2024-10-14 00:54:29 +02:00
parent 7901e8c380
commit f011ec513a

View File

@@ -17,7 +17,7 @@ public class InteractionRegistry {
wrapper.subscribeInteractions(this::handle);
}
public void registerInteractions(InteractionHandler interactionHandler) {
public void addInteractions(InteractionHandler interactionHandler) {
for (Method method : interactionHandler.getClass().getMethods()) {
interactionMethods.add(InteractionMethod.create(method, interactionHandler, wrapper));
}