本文整理了Java中aQute.bnd.osgi.Analyzer.doUses()
方法的一些代码示例,展示了Analyzer.doUses()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Analyzer.doUses()
方法的具体详情如下:
包路径:aQute.bnd.osgi.Analyzer
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!