org.eclipse.jdt.internal.core.util.Util.verbose()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(7.5k)|赞(0)|评价(0)|浏览(131)

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

Util.verbose介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

public synchronized void disable() {
  this.enableCount--;
  if (VERBOSE)
    Util.verbose("DISABLING background indexing"); //$NON-NLS-1$
}
/**

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private static void verbose_triggering_variable_initialization(String variableName, ClasspathVariableInitializer initializer) {
  Util.verbose(
    "CPVariable INIT - triggering initialization\n" + //$NON-NLS-1$
    "	variable: " + variableName + '\n' + //$NON-NLS-1$
    "	initializer: " + initializer); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_no_user_library_found(String userLibraryName) {
    Util.verbose(
      "UserLibrary INIT - FAILED (no user library found)\n" + //$NON-NLS-1$
      "	userLibraryName: " + userLibraryName); //$NON-NLS-1$
  }
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private static void verbose_found_container_initializer(String containerID, IConfigurationElement configurationElement) {
  Util.verbose(
    "CPContainer INIT - found initializer\n" + //$NON-NLS-1$
    "	container ID: " + containerID + '\n' + //$NON-NLS-1$
    "	class: " + configurationElement.getAttribute("class")); //$NON-NLS-1$ //$NON-NLS-2$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private static void verbose_found_variable_initializer(String variable, IConfigurationElement configElement) {
  Util.verbose(
    "CPVariable INIT - found initializer\n" + //$NON-NLS-1$
    "	variable: " + variable + '\n' + //$NON-NLS-1$
    "	class: " + configElement.getAttribute("class")); //$NON-NLS-1$ //$NON-NLS-2$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private static void verbose_failed_to_instanciate_variable_initializer(String variable, IConfigurationElement configElement) {
  Util.verbose(
    "CPContainer INIT - failed to instanciate initializer\n" + //$NON-NLS-1$
    "	variable: " + variable + '\n' + //$NON-NLS-1$
    "	class: " + configElement.getAttribute("class"), //$NON-NLS-1$ //$NON-NLS-2$
    System.err);
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_reentering_variable_access(String variableName, IPath previousPath) {
  Util.verbose(
    "CPVariable INIT - reentering access to variable during its initialization, will see previous value\n" + //$NON-NLS-1$
    "	variable: "+ variableName + '\n' + //$NON-NLS-1$
    "	previous value: " + previousPath); //$NON-NLS-1$
  new Exception("<Fake exception>").printStackTrace(System.out); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_triggering_container_initialization_invocation_trace() {
  Util.verbose(
    "CPContainer INIT - triggering initialization\n" + //$NON-NLS-1$
    "	invocation trace:"); //$NON-NLS-1$
  new Exception("<Fake exception>").printStackTrace(System.out); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private static void verbose_triggering_variable_initialization_invocation_trace() {
  Util.verbose(
    "CPVariable INIT - triggering initialization\n" + //$NON-NLS-1$
    "	invocation trace:"); //$NON-NLS-1$
  new Exception("<Fake exception>").printStackTrace(System.out); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

void verbose_missbehaving_container_null_entries(IJavaProject project, IPath containerPath) {
  Util.verbose(
    "CPContainer GET - missbehaving container (returning null as classpath entries)\n" + //$NON-NLS-1$
    "	project: " + project.getElementName() + '\n' + //$NON-NLS-1$
    "	container path: " + containerPath + '\n' + //$NON-NLS-1$
    "	classpath entries: <null>" //$NON-NLS-1$
  );
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_batching_containers_initialization(IJavaProject javaProjectToInit, IPath containerToInit) {
  Util.verbose(
    "CPContainer INIT - batching containers initialization\n" + //$NON-NLS-1$
    "	project to init: " + (javaProjectToInit == null ? "null" : javaProjectToInit.getElementName()) + '\n' + //$NON-NLS-1$ //$NON-NLS-2$
    "	container path to init: " + containerToInit); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_no_container_initializer_found(IJavaProject project, IPath containerPath) {
  Util.verbose(
    "CPContainer INIT - no initializer found\n" + //$NON-NLS-1$
    "	project: " + project.getElementName() + '\n' + //$NON-NLS-1$
    "	container path: " + containerPath); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_triggering_container_initialization(IJavaProject project, IPath containerPath,  ClasspathContainerInitializer initializer) {
  Util.verbose(
    "CPContainer INIT - triggering initialization\n" + //$NON-NLS-1$
    "	project: " + project.getElementName() + '\n' + //$NON-NLS-1$
    "	container path: " + containerPath + '\n' + //$NON-NLS-1$
    "	initializer: " + initializer); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_update_project(JavaProject affectedProject) {
  Util.verbose(
    "CPContainer SET  - updating affected project due to setting container\n" + //$NON-NLS-1$
    "	project: " + affectedProject.getElementName() + '\n' + //$NON-NLS-1$
    "	container path: " + this.containerPath); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_failure(String[] dbgVariableNames) {
  Util.verbose(
    "CPVariable SET  - FAILED DUE TO EXCEPTION\n" + //$NON-NLS-1$
    "	variables: " + org.eclipse.jdt.internal.compiler.util.Util.toString(dbgVariableNames), //$NON-NLS-1$
    System.err);
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_failure(CoreException e) {
  Util.verbose(
    "CPContainer SET  - FAILED DUE TO EXCEPTION\n" + //$NON-NLS-1$
    "	container path: " + this.containerPath, //$NON-NLS-1$
    System.err);
  e.printStackTrace();
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_container_null_failure_container(IJavaProject project, IPath containerPath,  ClasspathContainerInitializer initializer) {
  Util.verbose(
    "CPContainer INIT - FAILED (and failure container is null)\n" + //$NON-NLS-1$
    "	project: " + project.getElementName() + '\n' + //$NON-NLS-1$
    "	container path: " + containerPath + '\n' + //$NON-NLS-1$
    "	initializer: " + initializer); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_container_using_failure_container(IJavaProject project, IPath containerPath,  ClasspathContainerInitializer initializer) {
  Util.verbose(
    "CPContainer INIT - FAILED (using failure container)\n" + //$NON-NLS-1$
    "	project: " + project.getElementName() + '\n' + //$NON-NLS-1$
    "	container path: " + containerPath + '\n' + //$NON-NLS-1$
    "	initializer: " + initializer); //$NON-NLS-1$
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_not_a_module_project(IJavaProject project, IPath containerPath) {
    Util.verbose(
      "Module path INIT - FAILED (not a module project)\n" + //$NON-NLS-1$
      "	project: " + project.getElementName() + '\n' + //$NON-NLS-1$
      "	container path: " + containerPath); //$NON-NLS-1$
  }
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

private void verbose_set_variables() {
  Util.verbose(
    "CPVariable SET  - setting variables\n" + //$NON-NLS-1$
    "	variables: " + org.eclipse.jdt.internal.compiler.util.Util.toString(this.variableNames) + '\n' +//$NON-NLS-1$
    "	values: " + org.eclipse.jdt.internal.compiler.util.Util.toString(this.variablePaths)); //$NON-NLS-1$
}

相关文章

Util类方法