idea 查看JDK源码没有注释

进入idea的设置
maven:
1.File->setting->maven->Importing
勾选Sources Documentation
在这里插入图片描述
2 :右键 pom.xml maven->reimport
然后去查看源码,如果没有出现注释,出现的是反编译后的文件,只需要点击编辑窗口右上方的 “Download Sources” 即可。

猜你喜欢

转载自blog.csdn.net/weixin_43183496/article/details/107684252