equal
deleted
inserted
replaced
29 import java.net.URI; |
29 import java.net.URI; |
30 import java.util.Set; |
30 import java.util.Set; |
31 import java.util.Map; |
31 import java.util.Map; |
32 |
32 |
33 import com.sun.tools.sjavac.options.Options; |
33 import com.sun.tools.sjavac.options.Options; |
|
34 import com.sun.tools.sjavac.server.JavacService; |
34 |
35 |
35 /** |
36 /** |
36 * The transform interface is used to transform content inside a package, from one form to another. |
37 * The transform interface is used to transform content inside a package, from one form to another. |
37 * Usually the output form is an unpredictable number of output files. (eg class files) |
38 * Usually the output form is an unpredictable number of output files. (eg class files) |
38 * but can also be an unpredictable number of generated source files (eg idl2java) |
39 * but can also be an unpredictable number of generated source files (eg idl2java) |
80 * I.e. something was printed on stderr. |
81 * I.e. something was printed on stderr. |
81 * |
82 * |
82 * If num_cores is set to a non-zero value. The transform should attempt to use no more than these |
83 * If num_cores is set to a non-zero value. The transform should attempt to use no more than these |
83 * number of threads for heavy work. |
84 * number of threads for heavy work. |
84 */ |
85 */ |
85 boolean transform(Map<String,Set<URI>> pkgSrcs, |
86 boolean transform(JavacService javacService, |
|
87 Map<String,Set<URI>> pkgSrcs, |
86 Set<URI> visibleSources, |
88 Set<URI> visibleSources, |
87 Map<URI,Set<String>> visibleClasses, |
89 Map<URI,Set<String>> visibleClasses, |
88 Map<String,Set<String>> oldPackageDependencies, |
90 Map<String,Set<String>> oldPackageDependencies, |
89 URI destRoot, |
91 URI destRoot, |
90 Map<String,Set<URI>> packageArtifacts, |
92 Map<String,Set<URI>> packageArtifacts, |