Class SuperCloneCheck

All Implemented Interfaces:
Configurable, Contextualizable

public class SuperCloneCheck extends AbstractSuperCheck
Checks that an overriding clone() method invokes super.clone(). Does not check native methods, as they have no possible java defined implementation.

Reference: Object.clone().

Parent is com.puppycrawl.tools.checkstyle.TreeWalker

Violation Message Keys:

  • missing.super.call
Since:
3.2