org_aspectj_ajde_internal_AspectJBuildManagerTest_java
org.aspectj.ajdt.internal.core.builder.AjBuildManager$4
@Override
    public void acceptResult(CompilationResult unitResult) {
        boolean hasErrors = unitResult.hasErrors();
        if (!hasErrors || AjBuildManager.this.proceedOnError()) {
            Collection classFiles = unitResult.compiledTypes.values();
            boolean shouldAddAspectName = AjBuildManager.this.buildConfig.getOutxmlName() != null;
            for (ClassFile classFile : classFiles) {
                String filename = new String(classFile.fileName());
                String classname = filename.replace('/', '.');
                filename = filename.replace('/', File.separatorChar) + ".class";
                try {
                    if (AjBuildManager.this.buildConfig.getOutputJar() == null) {
                        ResolvedType type;
                        String outfile = this.writeDirectoryEntry(unitResult, classFile, filename);
                        AjBuildManager.this.getWorld().classWriteEvent(classFile.getCompoundName());
                        if (AjBuildManager.this.environmentSupportsIncrementalCompilation && !classname.endsWith("$ajcMightHaveAspect") && (type = AjBuildManager.this.getBcelWorld().resolve(classname)).isAspect()) {
                            AjBuildManager.this.state.recordAspectClassFile(outfile);
                        }
                    } else {
                        this.writeZipEntry(classFile, filename);
                    }
                    if (!shouldAddAspectName || classname.endsWith("$ajcMightHaveAspect")) continue;
                    this.addAspectName(classname, unitResult.getFileName());
                }
                catch (IOException ex) {
                    IMessage message = EclipseAdapterUtils.makeErrorMessage(new String(unitResult.fileName), AjBuildManager.CANT_WRITE_RESULT, (Exception)ex);
                    AjBuildManager.this.handler.handleMessage(message);
                }
            }
            AjBuildManager.this.state.noteNewResult(unitResult);
            unitResult.compiledTypes.clear();
        }
        if (unitResult.hasProblems() || unitResult.hasTasks()) {
            CategorizedProblem[] problems;
            for (CategorizedProblem problem : problems = unitResult.getAllProblems()) {
                IMessage message = EclipseAdapterUtils.makeMessage(unitResult.compilationUnit, problem, AjBuildManager.this.getBcelWorld(), AjBuildManager.this.progressListener);
                AjBuildManager.this.handler.handleMessage(message);
            }
        }
    }
 -> java.util.Map.values(): java.util.Collection -> java.util.Collection.iterator(): java.util.Iterator -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object -> java.lang.String.replace(char,char): java.lang.String -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String -> java.io.File.getPath(): java.lang.String -> java.io.File.getParentFile(): java.io.File -> java.io.File.mkdirs(): boolean -> java.io.BufferedOutputStream.write(byte[]): void -> java.io.BufferedOutputStream.close(): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.length(): int -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.charAt(int): char -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String -> java.lang.String.startsWith(java.lang.String): boolean -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.length(): int -> java.lang.String.indexOf(int): int -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object -> java.lang.String.replace(char,char): java.lang.String -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String -> java.io.File.getPath(): java.lang.String -> java.io.File.getParentFile(): java.io.File -> java.io.File.mkdirs(): boolean -> java.io.BufferedOutputStream.write(byte[]): void -> java.io.BufferedOutputStream.close(): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.length(): int -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.charAt(int): char -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String -> java.lang.String.startsWith(java.lang.String): boolean -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.charAt(int): char -> java.lang.String.charAt(int): char -> java.lang.String.length(): int -> java.lang.String.indexOf(int): int -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.util.Iterator.hasNext(): boolean -> java.util.Map.clear(): void
 [CALL] [CALL] [EXIT] -> java.util.Map.values(): java.util.Collection [CALL] [EXIT] -> java.util.Collection.iterator(): java.util.Iterator -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object [CALL] [EXIT] -> java.lang.String.replace(char,char): java.lang.String -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] -> java.io.File.getPath(): java.lang.String [CALL] -> java.io.File.getParentFile(): java.io.File -> java.io.File.mkdirs(): boolean [EXIT] [CALL] [EXIT] -> java.io.BufferedOutputStream.write(byte[]): void -> java.io.BufferedOutputStream.close(): void [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void [EXIT] [EXIT] [CALL] [CALL] -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] -> java.lang.String.endsWith(java.lang.String): boolean [CALL] [CALL] [EXIT] [EXIT] [CALL] [CALL] [CALL] -> java.lang.String.length(): int -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.charAt(int): char -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String [EXIT] [CALL] -> java.lang.String.startsWith(java.lang.String): boolean -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.charAt(int): char [CALL] -> java.lang.String.charAt(int): char -> java.lang.String.length(): int -> java.lang.String.indexOf(int): int [CALL] [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.Map.get(java.lang.Object): java.lang.Object [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [EXIT] -> java.util.Iterator.hasNext(): boolean -> java.util.Iterator.next(): java.lang.Object [CALL] [EXIT] -> java.lang.String.replace(char,char): java.lang.String -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String [CALL] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] -> java.io.File.getPath(): java.lang.String [CALL] -> java.io.File.getParentFile(): java.io.File -> java.io.File.mkdirs(): boolean [EXIT] [CALL] [EXIT] -> java.io.BufferedOutputStream.write(byte[]): void -> java.io.BufferedOutputStream.close(): void [CALL] [EXIT] [CALL] [EXIT] [CALL] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void [EXIT] [EXIT] [CALL] [CALL] -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void -> java.lang.System.arraycopy(java.lang.Object,int,java.lang.Object,int,int): void [EXIT] [CALL] [EXIT] [EXIT] [CALL] [EXIT] -> java.lang.String.endsWith(java.lang.String): boolean [CALL] [CALL] [EXIT] [EXIT] [CALL] [CALL] [CALL] -> java.lang.String.length(): int -> java.lang.String.endsWith(java.lang.String): boolean -> java.lang.String.charAt(int): char -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.replace(char,char): java.lang.String -> java.lang.StringBuilder.append(java.lang.String): java.lang.StringBuilder -> java.lang.StringBuilder.append(char): java.lang.StringBuilder -> java.lang.StringBuilder.toString(): java.lang.String [EXIT] [CALL] -> java.lang.String.startsWith(java.lang.String): boolean -> java.lang.String.contains(java.lang.CharSequence): boolean -> java.lang.String.charAt(int): char [CALL] -> java.lang.String.charAt(int): char -> java.lang.String.length(): int -> java.lang.String.indexOf(int): int [CALL] [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [CALL] [EXIT] [CALL] [EXIT] [CALL] [CALL] [EXIT] -> java.util.Map.get(java.lang.Object): java.lang.Object [EXIT] [EXIT] [EXIT] [EXIT] [CALL] [CALL] [EXIT] [CALL] [EXIT] [EXIT] -> java.util.Iterator.hasNext(): boolean -> java.util.Map.clear(): void [CALL] [EXIT] [CALL] [EXIT] [EXIT]