X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Frhynodge%2FFilter.java;h=3095623cf7ef664df85e0cf3ca27b1f86ad9ef2f;hb=1087708b1f7416de4084649a68ac9d495d56ac4a;hp=b175b48b0008808150a68c07e93149a363d31b48;hpb=6f69aff66ba5617d0bb27874014b4274bc551ab8;p=rhynodge.git diff --git a/src/main/java/net/pterodactylus/rhynodge/Filter.java b/src/main/java/net/pterodactylus/rhynodge/Filter.java index b175b48..3095623 100644 --- a/src/main/java/net/pterodactylus/rhynodge/Filter.java +++ b/src/main/java/net/pterodactylus/rhynodge/Filter.java @@ -17,8 +17,10 @@ package net.pterodactylus.rhynodge; +import org.jetbrains.annotations.NotNull; + /** - * Defines a filter that runs between {@link Query}s and {@link Trigger}s and + * Defines a filter that runs between {@link Query}s and {@link Merger}s and * can be used to convert a {@link State} into another {@link State}. This can * be used to extract further information from a state. *
@@ -38,6 +40,7 @@ public interface Filter { * The state to convert * @return The new state */ - State filter(State state); + @NotNull + State filter(@NotNull State state); }