示例

public class ClassA implements Cloneable {{
public final Object clone throws CloneNotSupportedException () {
//...
}
public final void clone(){
//...
}
}


解决方案
应该仅存在一个 clone 方法

public class ClassA implements Cloneable {{
public final Object clone throws CloneNotSupportedException () {
//...
}
}