Klasse EclipseAdapterUtils
java.lang.Object
org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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.
-
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
-