"Clonable class in secure context" inspection triggers if a class implements Cloneable
. The name of the inspection implies that it is only applied to classes which are in a "secure context".
How does IntelliJ decide if a class is in a secure context?
How do I tell IntelliJ whether a class is in a secure context or not?