org_aspectj_ajde_internal_AspectJBuildManagerTest_java
org.aspectj.ajdt.internal.core.builder.EclipseAdapterUtils
public static IMessage makeMessage(ICompilationUnit unit, IProblem problem, World world, IProgressListener progressListener) {
        ISourceLocation sourceLocation = EclipseAdapterUtils.makeSourceLocation(unit, problem, progressListener);
        IProblem[] seeAlso = problem.seeAlso();
        int validPlaces = 0;
        for (IProblem value : seeAlso) {
            if (value.getSourceLineNumber() < 0) continue;
            ++validPlaces;
        }
        ISourceLocation[] seeAlsoLocations = new ISourceLocation[validPlaces];
        int pos = 0;
        for (IProblem iProblem : seeAlso) {
            if (iProblem.getSourceLineNumber() < 0) continue;
            seeAlsoLocations[pos++] = new SourceLocation(new File(new String(iProblem.getOriginatingFileName())), iProblem.getSourceLineNumber());
        }
        String extraDetails = problem.getSupplementaryMessageInfo();
        boolean declared = false;
        boolean isLintMessage = false;
        String lintkey = null;
        if (extraDetails != null && extraDetails.endsWith("[deow=true]")) {
            declared = true;
            extraDetails = extraDetails.substring(0, extraDetails.length() - "[deow=true]".length());
        }
        if (extraDetails != null && extraDetails.contains("[Xlint:")) {
            isLintMessage = true;
            lintkey = extraDetails.substring(extraDetails.indexOf("[Xlint:"));
            lintkey = lintkey.substring("[Xlint:".length());
            lintkey = lintkey.substring(0, lintkey.indexOf("]"));
        }
        IMessage.Kind kind = problem.getID() == 536871362 ? IMessage.TASKTAG : (problem.isError() ? IMessage.ERROR : IMessage.WARNING);
        Message msg = null;
        msg = isLintMessage ? new LintMessage(problem.getMessage(), extraDetails, world.getLint().fromKey(lintkey), kind, sourceLocation, null, seeAlsoLocations, declared, problem.getID(), problem.getSourceStart(), problem.getSourceEnd()) : new Message(problem.getMessage(), extraDetails, kind, sourceLocation, null, seeAlsoLocations, declared, problem.getID(), problem.getSourceStart(), problem.getSourceEnd());
        return msg;
    }
 -> java.lang.StringBuilder.append(int): java.lang.StringBuilder -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(int): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(int): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String -> java.util.Arrays.asList(java.lang.Object[]): java.util.List -> java.util.Collections.unmodifiableList(java.util.List): java.util.List
 [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] -> java.lang.StringBuilder.append(int): java.lang.StringBuilder -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(int): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String [CALL] [EXIT] -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(int): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String [CALL] [EXIT] [EXIT] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] -> java.util.Arrays.asList(java.lang.Object[]): java.util.List -> java.util.Collections.unmodifiableList(java.util.List): java.util.List [EXIT] [EXIT]