Skip to content

Conversation

@ikroal
Copy link

@ikroal ikroal commented Oct 22, 2017

增加 Annotation 解析

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 “解答” 可以去掉,换成一句舒服点的过渡,比如“本篇文章我们将一起来解答这些问题。”

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里缺了一部分?

删除多余的语句,增加遗漏的部分

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Override的作用准确来说应该是:
1.帮助检查是否正确的复写了父类中的已有方法(如果不小心拼写错误或者方法签名对不上被覆盖的方法,编辑器都会发出警告信息)
2.表示当前方法定义将覆盖超类的方法。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这块我又重新编辑了一下

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下面这个部分建议把代码放IDE中,把代码和相关信息截图出来比代码加文字直观些

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经修改了,确实有截图直观些

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议把自定义注解的例子和注解处理相结合,形成一个完整使用环节,比较容易理解

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这部分我将自定义的注解替换成了运行时处理注解部分定义的注解了,但是没有合并。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants