public abstract class IjModule extends Object implements IjProjectElement
Modifier and Type | Class and Description |
---|---|
static class |
IjModule.Builder |
Constructor and Description |
---|
IjModule() |
@Value.Derived public String getName()
getName
in interface IjProjectElement
public abstract com.google.common.collect.ImmutableSet<BuildTarget> getTargets()
getTargets
in interface IjProjectElement
public abstract com.google.common.collect.ImmutableSet<BuildTarget> getNonSourceBuildTargets()
public abstract Map<BuildTarget,List<IjFolder>> getTargetsToGeneratedSourcesMap()
public abstract Path getModuleBasePath()
public abstract com.google.common.collect.ImmutableList<IjFolder> getFolders()
public abstract com.google.common.collect.ImmutableMap<BuildTarget,DependencyType> getDependencies()
BuildTarget
s the module depends on and information on whether it's a
test-only dependency or not.public abstract Optional<IjModuleAndroidFacet> getAndroidFacet()
public abstract com.google.common.collect.ImmutableSet<IjLibrary> getExtraLibraryDependencies()
public abstract com.google.common.collect.ImmutableSet<Path> getExtraModuleDependencies()
public abstract com.google.common.collect.ImmutableList<IjFolder> getGeneratedSourceCodeFolders()
public abstract IjModuleType getModuleType()
@Value.Check protected void checkDependencyConsistency()
public void addAsDependency(DependencyType dependencyType, IjDependencyListBuilder dependencyListBuilder)
addAsDependency
in interface IjProjectElement
public static IjModule.Builder builder()