Skip to content

Commit d826135

Browse files
committed
Document find and get method references in StaticBinder
1 parent 2305f11 commit d826135

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/net/thenextlvl/binder/StaticBinder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ static StaticBinder getInstance(ClassLoader loader) {
5252
* @param <T> the type of the class
5353
* @return an optional containing the instance if found, empty otherwise
5454
* @throws SecurityException if the binder access is not allowed
55+
* @see #find(Class)
5556
*/
5657
@CheckReturnValue
5758
@Contract(mutates = "this")
@@ -65,6 +66,7 @@ static StaticBinder getInstance(ClassLoader loader) {
6566
* @return the instance if found, throws an exception otherwise
6667
* @throws IllegalStateException if no instance is found
6768
* @throws SecurityException if the binder access is not allowed
69+
* @see #get(Class)
6870
*/
6971
<T> T find(Class<T> clazz) throws IllegalStateException, SecurityException;
7072
}

0 commit comments

Comments
 (0)