/** * Create a new dependency with a given digest. * * @param cl the source class * @param digest the MD5 digest */ public JClassDependency(JClass cl, String digest) { _className = cl.getName(); String newDigest = getDigest(); if (!newDigest.equals(digest)) { if (log.isLoggable(Level.FINE)) log.fine(_className + " digest is modified."); _isDigestModified = true; } }
/** Creates the class dependency. */ public JClassDependency(JClass cl) { _className = cl.getName(); }