import org.jetbrains.annotations.NotNull; public class JavaClass { // @NotNull public String value = "value"; }