public class EclipseAdapterUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static IMessage |
makeErrorMessage(ICompilationUnit unit,
java.lang.String text,
java.lang.Exception ex) |
static IMessage |
makeErrorMessage(java.lang.String srcFile,
java.lang.String text,
java.lang.Exception ex) |
static java.lang.String |
makeLocationContext(ICompilationUnit compilationUnit,
IProblem problem) |
static IMessage |
makeMessage(ICompilationUnit unit,
IProblem problem,
World world,
IProgressListener progressListener)
Extract message text and source location, including context.
|
static ISourceLocation |
makeSourceLocation(ICompilationUnit unit,
IProblem problem,
IProgressListener progressListener)
Extract source location file, start and end lines, and context.
|
public static java.lang.String makeLocationContext(ICompilationUnit compilationUnit, IProblem problem)
public static ISourceLocation makeSourceLocation(ICompilationUnit unit, IProblem problem, IProgressListener progressListener)
progressListener - public static IMessage makeMessage(ICompilationUnit unit, IProblem problem, World world, IProgressListener progressListener)
world - progressListener - public static IMessage makeErrorMessage(ICompilationUnit unit, java.lang.String text, java.lang.Exception ex)
public static IMessage makeErrorMessage(java.lang.String srcFile, java.lang.String text, java.lang.Exception ex)