final class TargetData extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TargetData
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TargetData()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val actualSources: Map[io.AbsolutePath, MappedSource]
- def addDependencyModules(dependencyModules: DependencyModulesResult): Unit
- def addDependencySource(sourcesJar: io.AbsolutePath, target: BuildTargetIdentifier): Unit
- def addJavacOptions(result: JavacOptionsResult, bspSession: Option[BuildServerConnection]): Unit
- def addMappedSource(path: io.AbsolutePath, mapped: MappedSource): Unit
- def addScalacOptions(result: ScalacOptionsResult, bspConnectionName: Option[BuildServerConnection]): Unit
- def addSourceItem(sourceItem: SourceItem, buildTarget: BuildTargetIdentifier): Unit
- def addSourceItem(sourceItem: io.AbsolutePath, buildTarget: BuildTargetIdentifier): Unit
- def addWorkspaceBuildTargets(result: WorkspaceBuildTargetsResult): Unit
- def all: Iterator[BuildTarget]
- def allBuildTargetIds: Seq[BuildTargetIdentifier]
- def allJava: Iterator[JavaTarget]
- def allScala: Iterator[ScalaTarget]
- def allTargetRoots: Iterator[io.AbsolutePath]
- def allWorkspaceJars: Iterator[io.AbsolutePath]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val buildTargetClasspath: Map[BuildTargetIdentifier, List[String]]
- val buildTargetDependencyModules: Map[BuildTargetIdentifier, List[MavenDependencyModule]]
- val buildTargetGeneratedDirs: Map[io.AbsolutePath, Unit]
- val buildTargetGeneratedFiles: Map[io.AbsolutePath, Unit]
- val buildTargetInfo: Map[BuildTargetIdentifier, BuildTarget]
- val buildTargetSources: Map[BuildTargetIdentifier, Set[io.AbsolutePath]]
- def checkIfGeneratedDir(path: io.AbsolutePath): Boolean
- def checkIfGeneratedSource(source: Path): Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findSourceJarOf(jar: io.AbsolutePath, targetId: Option[BuildTargetIdentifier]): Option[io.AbsolutePath]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def info(id: BuildTargetIdentifier): Option[BuildTarget]
- val inverseDependencies: Map[BuildTargetIdentifier, ListBuffer[BuildTargetIdentifier]]
- val inverseDependencySources: Map[io.AbsolutePath, Set[BuildTargetIdentifier]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSourceFile(source: io.AbsolutePath): Boolean
- val isSourceRoot: Set[io.AbsolutePath]
- def javaTarget(id: BuildTargetIdentifier): Option[JavaTarget]
- val javaTargetInfo: Map[BuildTargetIdentifier, JavaTarget]
- def javaTargetRoot(buildTarget: BuildTargetIdentifier): Option[io.AbsolutePath]
- def jvmTarget(id: BuildTargetIdentifier): Option[JvmTarget]
- def jvmTargets(id: BuildTargetIdentifier): List[JvmTarget]
- def linkSourceFile(id: BuildTargetIdentifier, source: io.AbsolutePath): Unit
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def onCreate(source: io.AbsolutePath): Unit
- val originalSourceItems: Set[io.AbsolutePath]
- def reset(): Unit
- def resetConnections(idToConn: List[(BuildTargetIdentifier, BuildServerConnection)]): Unit
- def scalaTarget(id: BuildTargetIdentifier): Option[ScalaTarget]
- val scalaTargetInfo: Map[BuildTargetIdentifier, ScalaTarget]
- def scalaTargetRoot(buildTarget: BuildTargetIdentifier): Option[io.AbsolutePath]
- def sourceBuildTargets(sourceItem: io.AbsolutePath): Option[Iterable[BuildTargetIdentifier]]
- val sourceItemFiles: Set[io.AbsolutePath]
- val sourceItemsToBuildTarget: Map[io.AbsolutePath, ConcurrentLinkedQueue[BuildTargetIdentifier]]
- val sourceJarNameToJarFile: Map[String, io.AbsolutePath]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def targetClassDirectories(id: BuildTargetIdentifier): List[String]
- def targetClasspath(id: BuildTargetIdentifier, cancelPromise: Promise[Unit])(implicit ec: ExecutionContext): Option[Future[List[String]]]
- def targetJarClasspath(id: BuildTargetIdentifier): Option[List[io.AbsolutePath]]
Get jars for a specific build target.
Get jars for a specific build target.
We first try to use buildTargetDependencyModules request since it should be low cost for build tools like Bazel.
We fall back to reading from classpath only if the classpath is read eagerly.
- id
id of the queried target
- returns
depenendency jar list if available
- def targetRoots(buildTarget: BuildTargetIdentifier): List[io.AbsolutePath]
- val targetToConnection: Map[BuildTargetIdentifier, BuildServerConnection]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)