Query module AvoidCloneMethodAccess

name
Use of clone() method
description
Calling a method that overrides ‘Object.clone’ is bad practice. Copying an object using the ‘Cloneable interface’ and ‘Object.clone’ is error-prone.
kind
problem
problem.severity
recommendation
precision
medium
id
java/use-of-clone-method
tags
reliability

Imports

java

Provides all default Java QL imports.

Classes