清单5的代码保存了访问字段时的字段信息,因为如果该字段有注释呈现的话,以后将会需要该信息。
The Listing 5 code saves the field information at the time a field is visited, because this information will be needed later if the field has an annotation present.
顺便说一下,在第一行有一句注释(在代码例子中是源文件的名字)。
By the way, that's a comment on the first line (with the name of the source file for the code example).
有了这些简短的描述和代码中的注释,您就能够理解函数中发生了什么事情。
With this brief description and the comments in the code, you should be able to follow what is happening in the function.
应用推荐