From cc073c722409f68c9f1bea5a78a69e76bdc31d7d Mon Sep 17 00:00:00 2001 From: Patrick Doyle Date: Sun, 18 Feb 2024 13:45:38 -0500 Subject: [PATCH] Tweaks --- bosk-core/src/main/java/io/vena/bosk/Bosk.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bosk-core/src/main/java/io/vena/bosk/Bosk.java b/bosk-core/src/main/java/io/vena/bosk/Bosk.java index 1415c9fe..a93a4e4e 100644 --- a/bosk-core/src/main/java/io/vena/bosk/Bosk.java +++ b/bosk-core/src/main/java/io/vena/bosk/Bosk.java @@ -525,6 +525,7 @@ public void registerHook(String name, @NonNull Reference scope, @NonNull localDriver.triggerEverywhere(reg); } + @Override public void registerHooks(Object receiver) throws InvalidTypeException { HookRegistrar.registerHooks(receiver, this); } @@ -1026,7 +1027,7 @@ public void forEachValue(BiConsumer action, BindingEnviro * correspond to an {@link Identifier} that can be looked up in an * object that implements {@link EnumerableByIdentifier}. (We are * not offering to use reflection to look up object fields by name here.) - * + *

* TODO: This is not currently checked or enforced; it will just cause confusing crashes. * It should throw {@link InvalidTypeException} at the time the Reference is created. */