public abstract class IjLibrary extends Object implements IjProjectElement
| Modifier and Type | Class and Description |
|---|---|
static class |
IjLibrary.Builder |
static class |
IjLibrary.Type
Types of IjLibrary
IjLibrary.Type.DEFAULT: Generated by a Buck target
IjLibrary.Type.KOTLIN_JAVA_RUNTIME: Generated for Kotlin code support in IDE |
| Constructor and Description |
|---|
IjLibrary() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAsDependency(DependencyType dependencyType,
IjDependencyListBuilder dependencyListBuilder) |
static IjLibrary.Builder |
builder() |
protected void |
eitherBinaryJarOrClassPathPresent() |
abstract com.google.common.collect.ImmutableSet<Path> |
getBinaryJars() |
abstract com.google.common.collect.ImmutableSet<Path> |
getClassPaths() |
abstract com.google.common.collect.ImmutableSet<String> |
getJavadocUrls() |
abstract String |
getName() |
abstract com.google.common.collect.ImmutableSet<Path> |
getSourceDirs() |
abstract com.google.common.collect.ImmutableSet<Path> |
getSourceJars() |
abstract com.google.common.collect.ImmutableSet<BuildTarget> |
getTargets() |
IjLibrary.Type |
getType() |
public abstract String getName()
getName in interface IjProjectElementpublic abstract com.google.common.collect.ImmutableSet<BuildTarget> getTargets()
getTargets in interface IjProjectElementpublic abstract com.google.common.collect.ImmutableSet<Path> getBinaryJars()
public abstract com.google.common.collect.ImmutableSet<Path> getClassPaths()
public abstract com.google.common.collect.ImmutableSet<Path> getSourceJars()
public abstract com.google.common.collect.ImmutableSet<String> getJavadocUrls()
public abstract com.google.common.collect.ImmutableSet<Path> getSourceDirs()
@Value.Check protected void eitherBinaryJarOrClassPathPresent()
public void addAsDependency(DependencyType dependencyType, IjDependencyListBuilder dependencyListBuilder)
addAsDependency in interface IjProjectElement@Value.Default public IjLibrary.Type getType()
public static IjLibrary.Builder builder()