How to safe change the type of a variable intellij?
<p>Suppose I have a class like this.</p>

<pre><code>Public class MyClass{
    private String id;

    public Myclass(String id){
        this.id = id;
    }

    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }
}
</code></pre>

<p>And suddenly I want to change the <code>type of id</code> into <code>Integer</code>. Is there a way to do that with <strong>intellij</strong> without breaking usages?</p>