Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java8新特性及使用(二) | 闪烁之狐 #63

Open
blinkfox opened this issue Nov 14, 2018 · 2 comments
Open

Java8新特性及使用(二) | 闪烁之狐 #63

blinkfox opened this issue Nov 14, 2018 · 2 comments

Comments

@blinkfox
Copy link
Owner

https://blinkfox.github.io/2018/11/14/hou-duan/java/java8-xin-te-xing-ji-shi-yong-er/

扩展注解的支持Java 8扩展了注解的上下文。现在几乎可以为任何东西添加注解:局部变量、泛型类、父类与接口的实现,就连方法的异常也能添加注解。下面演示几个例子:
import java.lang.annotation.ElementType

@Mculover666
Copy link

博主的主题很棒,感谢~

@duanqyt
Copy link

duanqyt commented Mar 19, 2020

大佬教教我为什么点击评论之后提交不上

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

No branches or pull requests

3 participants