APISonar


org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin.log

> org > eclipse > ltk > internal > core > refactoring > RefactoringCorePlugin > log
org APIs eclipse APIs ltk APIs internal APIs core APIs refactoring APIs RefactoringCorePlugin APIs log APIs

Example 1
public void dispose() {
		for (Iterator iter= fChanges.iterator(); iter.hasNext(); ) {
			final Change change= (Change)iter.next();
			SafeRunner.run(new ISafeRunnable() {
				public void run() throws Exception {
					change.dispose();
				}
				public void handleException(Throwable exception) {
					RefactoringCorePlugin.log(exception);
				}
			});
		}
	}
Example 2
public final IResource getResource() {
    try {
      final ResourceTraversal[] traversals = getTraversals(null, null);
      if (traversals.length > 0) {
        final IResource[] resources = traversals[0].getResources();
        if (resources.length > 0) return resources[0];
      }
    } catch (CoreException exception) {
      RefactoringCorePlugin.log(exception);
    }
    return null;
  }