範例

public class ClassA {
int x;
public void methodA() {
y=x*x;
// ...
}

}
解決方案
1. 移除 'x*x' 並重新考量程式碼的邏輯。
2. 將 'x*x' 取代為 x^2