gpt4 book ai didi

java - 有没有办法在 Eclipse 中找到所有隐式类型转换的位置?

转载 作者:行者123 更新时间:2023-11-30 03:41:48 25 4
gpt4 key购买 nike

有没有办法在Eclipse的一个工作区中找到上万行Android Java代码的所有隐式类型转换的位置?

例如,我想找到所有字节隐式转换为整数的位置。

我正在考虑使用 Preferences > Java > Error/Warnings 为隐式类型转换生成错误或警告,但无法弄清楚。

最佳答案

For example, I want to find all the location where bytes are converted to integers implicitly.

据我所知,不。

I want to find all the location where bytes are converted to integers implicitly.

我想我会首先仔细查看您使用类型为 bytebyte 数组类型的变量的所有地方。然后查看所有调用返回 byte 方法的地方。

关于java - 有没有办法在 Eclipse 中找到所有隐式类型转换的位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15599157/

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