diff --git a/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java b/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java index 0d5c955..8192516 100644 --- a/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java +++ b/modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java @@ -16,6 +16,9 @@ */ package org.jkiss.api; +import org.jkiss.code.NotNull; +import org.jkiss.code.Nullable; + import java.util.Map; /** @@ -23,10 +26,12 @@ */ public interface ObjectWithContextParameters { + @NotNull Map getObjectContextParameters(); - Object getObjectContextParameter(String name); + @Nullable + Object getObjectContextParameter(@NotNull String name); - void setObjectContextParameter(String name, Object value); + void setObjectContextParameter(@NotNull String name, @Nullable Object value); }