Use the default copy constructor [Java]
<p>Having the following:</p>

<pre><code>public interface IntA{ }

public class A implements IntA{}

public class A2 extends A {

 public A2(IntA a) {
  if(a instanceof A)
     this(a);
  else
    // whatever

 }
}
</code></pre>

<p>I want in case <code>a</code> is instance of <code>A</code> then I want that <code>this</code> reference A and not creates a deep copy of it, otherwise <code>this</code> becomes a new object (new reference). Is this possible?</p>