Class EclipseAdapterUtils
java.lang.Object
org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic IMessage
makeErrorMessage
(String srcFile, String text, Exception ex) static IMessage
makeErrorMessage
(ICompilationUnit unit, String text, Exception ex) static 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.
-
Method Details
-
makeLocationContext
-
makeSourceLocation
public static ISourceLocation makeSourceLocation(ICompilationUnit unit, IProblem problem, IProgressListener progressListener) Extract source location file, start and end lines, and context. Column is not extracted correctly.- Parameters:
progressListener
-- Returns:
- ISourceLocation with correct file and lines but not column.
-
makeMessage
public static IMessage makeMessage(ICompilationUnit unit, IProblem problem, World world, IProgressListener progressListener) Extract message text and source location, including context.- Parameters:
world
-progressListener
-
-
makeErrorMessage
-
makeErrorMessage
-