for example, how to use these two notes (do not distinguish the difference between the two for the time being)
I thought (method) added these two comments, then the return value of this method cannot be null, the editor will give the corresponding prompt that the compilation failed (like kotlin), but the result is not what I thought.
is actually exactly the same as adding or not. May I ask how to use these two annotations