Klasse EclipseAdapterUtils
java.lang.Object
org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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.
-
Methodendetails
-
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.- Parameter:
progressListener
-- Gibt zurück:
- 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.- Parameter:
world
-progressListener
-
-
makeErrorMessage
-
makeErrorMessage
-