gpt4 book ai didi

java - "discouraged reference"在Java中是什么意思?

转载 作者:行者123 更新时间:2023-11-29 07:20:41 24 4
gpt4 key购买 nike

我在 Eclipse 的编译器设置中注意到了这个设置。这与“禁止引用”有何不同?

最佳答案

来自对 how to open the find type dialog programmatically in eclipse 上已接受答案的评论

You get a discouraged access warning whenever you reference a type in a package that is not part of the API, typically these are *.internal packages. "Discouraged access" is an indicator that you should look for an API alternative if possible. Be aware that you might be vulnerable to change in later versions of Eclipse. See help.eclipse.org/galileo/index.jsp for more details – Rich Seller

关于java - "discouraged reference"在Java中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5031680/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com