private void countClassAccess ( final @ DottedClassName String calledClass ) { if ( calledClass . equals ( clsName ) || isAssociatedClass ( calledClass ) ) { if ( getPrevOpcode ( 1 ) != Const . ALOAD_0 ) { thisClsAccessCount ++ ; } } else { String calledPackage = SignatureUtils . getPackageName ( calledClass ) ; if ( SignatureUtils . similarPackages ( calledPackage , packageName , 2 ) && ! generalPurpose ( calledClass ) ) { BitSet lineNumbers = clsAccessCount . get ( calledClass ) ; if ( lineNumbers == null ) { lineNumbers = new BitSet ( ) ; addLineNumber ( lineNumbers ) ; clsAccessCount . put ( calledClass , lineNumbers ) ; } else { addLineNumber ( lineNumbers ) ; } } } }
increment the count of class access of the specified class if it is in a similar package to the caller and is not general purpose