aQute.bnd.osgi.Analyzer.doUses()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(107)

本文整理了Java中aQute.bnd.osgi.Analyzer.doUses()方法的一些代码示例,展示了Analyzer.doUses()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Analyzer.doUses()方法的具体详情如下:
包路径:aQute.bnd.osgi.Analyzer
类名称:Analyzer
方法名:doUses

Analyzer.doUses介绍

暂无

代码示例

代码示例来源:origin: biz.aQute/bndlib

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef,List<PackageRef>> uses, Packages imports) {
  if ("true".equalsIgnoreCase(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet().iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    }
    finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef, List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet()
    .iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    } finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef, List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet()
    .iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    } finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

代码示例来源:origin: biz.aQute.bnd/bnd

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef,List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet().iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    }
    finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

代码示例来源:origin: biz.aQute.bnd/bndlib

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef,List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet().iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    }
    finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

doUses(exports, api ? apiUses : uses, imports);

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

doUses(exports, api ? apiUses : uses, imports);

代码示例来源:origin: biz.aQute/bndlib

doUses(exports, api ? apiUses : uses, imports);

代码示例来源:origin: biz.aQute.bnd/bndlib

doUses(exports, api ? apiUses : uses, imports);

代码示例来源:origin: biz.aQute.bnd/bnd

doUses(exports, api ? apiUses : uses, imports);

相关文章

Analyzer类方法