サンプル
public class
ClassA
implements
Cloneable
{
public final
void clone
throws
CloneNotSupportedException () {
//...
}
解決策
clone メソッドの適切なシグニチャーに従います
。
public class
ClassA
implements
Cloneable
{
public final
Object clone
throws
CloneNotSupportedException () {
//...
}
}