Skip to content

Commit

Permalink
Update user guide and javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Nov 22, 2024
1 parent 616921f commit 0f29c85
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 52 deletions.
8 changes: 8 additions & 0 deletions bosk-core/src/main/java/works/bosk/Bosk.java
Original file line number Diff line number Diff line change
Expand Up @@ -1208,10 +1208,18 @@ public NonexistentEntryException(Path path) {
}
}

/**
* Equivalent to {@code rootReference().buildReferences(refsClass)}.
*
* @see RootReference#buildReferences
*/
public final <T> T buildReferences(Class<T> refsClass) throws InvalidTypeException {
return rootReference().buildReferences(refsClass);
}

/**
* @return a {@link RootReference} whose {@link Reference#path path} is {@link Path#isEmpty empty}.
*/
public final RootReference<R> rootReference() {
return rootRef;
}
Expand Down
Loading

0 comments on commit 0f29c85

Please sign in to comment.