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

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

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

Analyzer.isPedantic介绍

暂无

代码示例

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

public void addClasspath(Jar jar) {
  if (isPedantic() && jar.getResources().isEmpty())
    warning("There is an empty jar or directory on the classpath: " + jar.getName());
  classpath.add(jar);
}

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

public void addClasspath(Jar jar) {
  if (isPedantic() && jar.getResources().isEmpty())
    warning("There is an empty jar or directory on the classpath: " + jar.getName());
  classpath.add(jar);
}

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

public void addClasspath(Jar jar) {
  if (isPedantic() && jar.getResources().isEmpty())
    warning("There is an empty jar or directory on the classpath: " + jar.getName());
  classpath.add(jar);
}

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

key = Constants.VERSION_ATTRIBUTE;
propvalue = m.group(2);
if (isPedantic())
  warning("found old syntax in package info in package %s, from resource %s", packageRef, r);

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

key = Constants.VERSION_ATTRIBUTE;
propvalue = m.group(2);
if (isPedantic())
  warning("found old syntax in package info in package %s, from resource %s", packageRef, r);

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

key = Constants.VERSION_ATTRIBUTE;
propvalue = m.group(2);
if (isPedantic())
  warning("found old syntax in package info in package %s, from resource %s", packageRef, r);

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

public void addClasspath(Jar jar) {
  if (isPedantic() && jar.getResources()
    .isEmpty())
    warning("There is an empty jar or directory on the classpath: %s", jar.getName());
  addClose(jar);
  classpath.add(jar);
  updateModified(jar.lastModified(), jar.toString());
}

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

key = Constants.VERSION_ATTRIBUTE;
propvalue = m.group(2);
if (isPedantic())
  warning("found old syntax in package info in package %s, from resource %s", packageRef, r);

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

public void addClasspath(Jar jar) {
  if (isPedantic() && jar.getResources()
    .isEmpty())
    warning("There is an empty jar or directory on the classpath: %s", jar.getName());
  addClose(jar);
  classpath.add(jar);
  updateModified(jar.lastModified(), jar.toString());
}

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

if (analyzer.isPedantic()) {
  analyzer.warning(
    "Unable to determine whether the meta annotation %s applied to type %s provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed",

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

if (analyzer.isPedantic()) {
  analyzer.warning(
    "Unable to determine whether the meta annotation %s applied to type %s provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed",

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

h = "*";
if (isPedantic() && h.trim()
  .length() == 0)
  warning("Empty " + Constants.IMPORT_PACKAGE + " header");

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

h = "*";
if (isPedantic() && h.trim()
  .length() == 0)
  warning("Empty " + Constants.IMPORT_PACKAGE + " header");

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

h = "*";
if (isPedantic() && h.trim().length() == 0)
  warning("Empty Import-Package header");

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

h = "*";
if (isPedantic() && h.trim().length() == 0)
  warning("Empty " + Constants.IMPORT_PACKAGE + " header");

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

if (isPedantic() && noimports.size() != 0) {
  warning("Imports that lack version ranges: %s", noimports);

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

if (isPedantic() && noimports.size() != 0) {
  warning("Imports that lack version ranges: %s", noimports);

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

if (isPedantic() && noimports.size() != 0) {
  warning("Imports that lack version ranges: %s", noimports);

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

if (isPedantic() && noimports.size() != 0) {
  warning("Imports that lack version ranges: %s", noimports);

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

if (isPedantic() && noimports.size() != 0) {
  warning("Imports that lack version ranges: %s", noimports);

相关文章

Analyzer类方法