有没有办法在具有数万行 Android Java 代码的 Eclipse 工作区中找到隐式类型转换的所有位置?
例如,我想找到字节隐式转换为整数的所有位置。
我正在考虑使用 Preferences > Java > Error/Warnings 为隐式类型转换生成错误或警告,但无法弄清楚。
For example, I want to find all the location where bytes are converted to integers implicitly.
AFAIK, no.
I want to find all the location where bytes are converted to integers implicitly.
I think I would start by looking carefully at all places where you use variables which have type byte
or a byte
array type. And then look at all places where you call a method that returns byte
.