コード例 #1
0
  /**
   * 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;
    }
  }
コード例 #2
0
 /** Creates the class dependency. */
 public JClassDependency(JClass cl) {
   _className = cl.getName();
 }