@ Override public void visitClassContext ( ClassContext classContext ) { if ( cloneClass == null ) { return ; } try { cls = classContext . getJavaClass ( ) ; if ( cls . implementationOf ( cloneClass ) ) { clsName = cls . getClassName ( ) ; stack = new OpcodeStack ( ) ; super . visitClassContext ( classContext ) ; } } catch ( ClassNotFoundException cnfe ) { bugReporter . reportMissingClass ( cnfe ) ; } finally { cls = null ; stack = null ; } }
overrides the visitor to check for classes that implement Cloneable .