File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ dependencies {
44 implementation libs. asm
55 implementation libs. asm. util
66 implementation libs. pcollections
7- implementation libs. jetbrains. annotations
7+ api libs. jetbrains. annotations
88 testImplementation project(' :bosk-testing' )
99}
Original file line number Diff line number Diff line change 1919import java .util .function .BiConsumer ;
2020import java .util .function .Consumer ;
2121import lombok .Getter ;
22- import lombok .NonNull ;
2322import lombok .RequiredArgsConstructor ;
2423import lombok .Value ;
2524import org .jetbrains .annotations .NotNull ;
@@ -662,7 +661,7 @@ public String toString() {
662661 * Before returning, runs the hook on the current bosk state.
663662 *
664663 */
665- public <T > void registerHook (String name , @ NonNull Reference <T > scope , @ NonNull BoskHook <T > action ) {
664+ public <T > void registerHook (String name , @ NotNull Reference <T > scope , @ NotNull BoskHook <T > action ) {
666665 hookRegistrar .registerHook (name , scope , action );
667666 }
668667
Original file line number Diff line number Diff line change 1818import static java .util .Collections .unmodifiableMap ;
1919import static java .util .LinkedHashMap .newLinkedHashMap ;
2020import static java .util .Objects .requireNonNull ;
21- import static lombok .AccessLevel .PROTECTED ;
21+ import static lombok .AccessLevel .PRIVATE ;
2222
2323/**
2424 * An ordered collection of entities included by value. Mainly useful to represent
3636 * @author pdoyle
3737 *
3838 */
39- @ RequiredArgsConstructor (access =PROTECTED )
39+ @ RequiredArgsConstructor (access =PRIVATE )
4040@ EqualsAndHashCode
4141public final class Catalog <E extends Entity > implements Iterable <E >, EnumerableByIdentifier <E > {
4242 private final OrderedPMap <Identifier , E > contents ;
You can’t perform that action at this time.
0 commit comments