public class IjProjectTemplateDataPreparer extends Object
IjProjectWriter
. This is a separate class
mainly for testing convenience.Constructor and Description |
---|
IjProjectTemplateDataPreparer(JavaPackageFinder javaPackageFinder,
IjModuleGraph moduleGraph,
ProjectFilesystem projectFilesystem,
IjProjectConfig projectConfig,
AndroidManifestParser androidManifestParser) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<IjFolder> |
createExcludes(IjModule module) |
com.google.common.collect.ImmutableSet<Path> |
createFilesystemTraversalBoundaryPathSet(com.google.common.collect.ImmutableSet<IjModule> modules) |
static com.google.common.collect.ImmutableSet<Path> |
createPackageLookupPathSet(IjModuleGraph moduleGraph) |
static com.google.common.collect.ImmutableSet<Path> |
createReferencedFolderPathsSet(com.google.common.collect.ImmutableSet<IjModule> modules) |
Map<String,Object> |
getAndroidProperties(IjModule module) |
com.google.common.collect.ImmutableList<ContentRoot> |
getContentRoots(IjModule module) |
com.google.common.collect.ImmutableSet<IjDependencyListBuilder.DependencyEntry> |
getDependencies(IjModule module) |
Optional<String> |
getFirstResourcePackageFromDependencies(IjModule module) |
com.google.common.collect.ImmutableSet<IjSourceFolder> |
getGeneratedSourceFolders(IjModule module) |
com.google.common.collect.ImmutableSet<IjLibrary> |
getLibrariesToBeWritten() |
com.google.common.collect.ImmutableSortedSet<ModuleIndexEntry> |
getModuleIndexEntries() |
com.google.common.collect.ImmutableSet<IjModule> |
getModulesToBeWritten() |
public IjProjectTemplateDataPreparer(JavaPackageFinder javaPackageFinder, IjModuleGraph moduleGraph, ProjectFilesystem projectFilesystem, IjProjectConfig projectConfig, AndroidManifestParser androidManifestParser)
public static com.google.common.collect.ImmutableSet<Path> createReferencedFolderPathsSet(com.google.common.collect.ImmutableSet<IjModule> modules)
public com.google.common.collect.ImmutableSet<Path> createFilesystemTraversalBoundaryPathSet(com.google.common.collect.ImmutableSet<IjModule> modules)
public static com.google.common.collect.ImmutableSet<Path> createPackageLookupPathSet(IjModuleGraph moduleGraph)
public com.google.common.collect.ImmutableSet<IjModule> getModulesToBeWritten()
public com.google.common.collect.ImmutableSet<IjLibrary> getLibrariesToBeWritten()
public com.google.common.collect.ImmutableCollection<IjFolder> createExcludes(IjModule module) throws IOException
IOException
public com.google.common.collect.ImmutableList<ContentRoot> getContentRoots(IjModule module) throws IOException
IOException
public com.google.common.collect.ImmutableSet<IjSourceFolder> getGeneratedSourceFolders(IjModule module)
public com.google.common.collect.ImmutableSet<IjDependencyListBuilder.DependencyEntry> getDependencies(IjModule module)
public Optional<String> getFirstResourcePackageFromDependencies(IjModule module)
public com.google.common.collect.ImmutableSortedSet<ModuleIndexEntry> getModuleIndexEntries()