UiSourceCallSite

data class UiSourceCallSite(val className: String, val methodName: String, val fileName: String, val lineNumber: Int)(source)

One runtime call site that contributed to a declarative node.

JVM line tables do not retain an absolute source path, so tooling keeps both the declaring class and source filename. Android Studio can resolve the pair against project source roots without coupling runtime modules to IDE APIs.

Constructors

Link copied to clipboard
constructor(className: String, methodName: String, fileName: String, lineNumber: Int)

Properties

Link copied to clipboard

binary JVM name of the declaring class

Link copied to clipboard

source filename from the JVM line table

Link copied to clipboard

positive one-based source line

Link copied to clipboard

JVM method that emitted or contributed to the node