本文整理了Java中aQute.bnd.osgi.Analyzer.getContained()
方法的一些代码示例,展示了Analyzer.getContained()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Analyzer.getContained()
方法的具体详情如下:
包路径:aQute.bnd.osgi.Analyzer
类名称:Analyzer
方法名:getContained
暂无
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
/**
* Report the details of this analyzer
*/
@Override
public void report(Map<String, Object> table) throws Exception {
super.report(table);
analyze();
table.put("Contained", getContained().entrySet());
table.put("Imported", getImports().entrySet());
table.put("Exported", getExports().entrySet());
table.put("Referred", getReferred().entrySet());
table.put("Bundle Symbolic Name", getBsn());
table.put("Execution Environments", ees);
}
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
/**
* Report the details of this analyzer
*/
@Override
public void report(Map<String, Object> table) throws Exception {
super.report(table);
analyze();
table.put("Contained", getContained().entrySet());
table.put("Imported", getImports().entrySet());
table.put("Exported", getExports().entrySet());
table.put("Referred", getReferred().entrySet());
table.put("Bundle Symbolic Name", getBsn());
table.put("Execution Environments", ees);
}
代码示例来源:origin: biz.aQute.bnd/bnd
/**
* Report the details of this analyzer
*/
public void report(Map<String,Object> table) throws Exception {
super.report(table);
analyze();
table.put("Contained", getContained().entrySet());
table.put("Imported", getImports().entrySet());
table.put("Exported", getExports().entrySet());
table.put("Referred", getReferred().entrySet());
table.put("Referred", getReferred().entrySet());
table.put("Bundle Symbolic Name", getBsn());
table.put("Execution Environments", ees);
}
代码示例来源:origin: biz.aQute.bnd/bndlib
/**
* Report the details of this analyzer
*/
public void report(Map<String,Object> table) throws Exception {
super.report(table);
analyze();
table.put("Contained", getContained().entrySet());
table.put("Imported", getImports().entrySet());
table.put("Exported", getExports().entrySet());
table.put("Referred", getReferred().entrySet());
table.put("Referred", getReferred().entrySet());
table.put("Bundle Symbolic Name", getBsn());
table.put("Execution Environments", ees);
}
代码示例来源:origin: biz.aQute/bndlib
Set<PackageRef> unresolvedReferences = new TreeSet<PackageRef>(analyzer.getReferred().keySet());
unresolvedReferences.removeAll(analyzer.getImports().keySet());
unresolvedReferences.removeAll(analyzer.getContained().keySet());
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
if (!analyzer.getContained()
.containsFQN(e.getKey())) {
SetLocation warning = warning("Export-Package or -exportcontents refers to missing package '%s'",
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
if (!analyzer.getContained()
.containsFQN(e.getKey())) {
SetLocation warning = warning("Export-Package or -exportcontents refers to missing package '%s'",
代码示例来源:origin: biz.aQute.bnd/bndlib
exports.put(analyzer.getPackageRef(entry.getKey()), entry.getValue());
} else
exports = analyzer.getContained();
代码示例来源:origin: biz.aQute.bnd/bnd
exports.put(analyzer.getPackageRef(entry.getKey()), entry.getValue());
} else
exports = analyzer.getContained();
代码示例来源:origin: biz.aQute/bndlib
exports.put(analyzer.getPackageRef(entry.getKey()), entry.getValue());
} else
exports = analyzer.getContained();
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
for (Entry<PackageRef, Attrs> e : a.getContained()
.entrySet()) {
extra.append(del);
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
for (Entry<PackageRef, Attrs> e : a.getContained()
.entrySet()) {
extra.append(del);
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
exports.put(analyzer.getPackageRef(entry.getKey()), entry.getValue());
} else
exports = analyzer.getContained();
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
exports.put(analyzer.getPackageRef(entry.getKey()), entry.getValue());
} else
exports = analyzer.getContained();
代码示例来源:origin: biz.aQute.bnd/bnd
unresolvedReferences.removeAll(analyzer.getContained().keySet());
for ( String pname : domain.getImportPackage().keySet()) {
PackageRef pref = analyzer.getPackageRef(pname);
代码示例来源:origin: biz.aQute.bnd/bndlib
unresolvedReferences.removeAll(analyzer.getContained().keySet());
for ( String pname : domain.getImportPackage().keySet()) {
PackageRef pref = analyzer.getPackageRef(pname);
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib
.get(pref);
if (info == null)
info = analyzer.getContained()
.get(pref);
代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd
.get(pref);
if (info == null)
info = analyzer.getContained()
.get(pref);
代码示例来源:origin: biz.aQute.bnd/bndlib
private void add(String name, String value) {
if (value == null)
return;
Processor next = new Processor(analyzer);
next.setProperty("@class", current.getFQN());
next.setProperty("@class-short", current.getClassName().getShortName());
PackageRef pref = current.getClassName().getPackageRef();
next.setProperty("@package", pref.getFQN());
Attrs info = analyzer.getClasspathExports().get(pref);
if (info == null)
info = analyzer.getContained().get(pref);
if (info != null && info.containsKey("version")) {
next.setProperty("@version", info.get("version"));
}
Macro macro = next.getReplacer();
/*
* These strings come from code, which might also be included from
* external parties. So we just do not want to call any system commands
* from these sources
*/
boolean prev = macro.setNosystem(true);
try {
value = macro.process(value);
headers.add(name, value);
next.close();
}
finally {
macro.setNosystem(prev);
}
}
代码示例来源:origin: biz.aQute.bnd/bnd
private void add(String name, String value) {
if (value == null)
return;
Processor next = new Processor(analyzer);
next.setProperty("@class", current.getFQN());
next.setProperty("@class-short", current.getClassName().getShortName());
PackageRef pref = current.getClassName().getPackageRef();
next.setProperty("@package", pref.getFQN());
Attrs info = analyzer.getClasspathExports().get(pref);
if (info == null)
info = analyzer.getContained().get(pref);
if (info != null && info.containsKey("version")) {
next.setProperty("@version", info.get("version"));
}
Macro macro = next.getReplacer();
/*
* These strings come from code, which might also be included from
* external parties. So we just do not want to call any system commands
* from these sources
*/
boolean prev = macro.setNosystem(true);
try {
value = macro.process(value);
headers.add(name, value);
next.close();
}
finally {
macro.setNosystem(prev);
}
}
内容来源于网络,如有侵权,请联系作者删除!