Class EclipseAdapterUtils
java.lang.Object
org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic IMessagemakeErrorMessage(String srcFile, String text, Exception ex) static IMessagemakeErrorMessage(ICompilationUnit unit, String text, Exception ex) static StringmakeLocationContext(ICompilationUnit compilationUnit, IProblem problem) static IMessagemakeMessage(ICompilationUnit unit, IProblem problem, World world, IProgressListener progressListener) Extract message text and source location, including context.static ISourceLocationmakeSourceLocation(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
-