CodeLocation

Identifies a code location to instrument, including the programming language, code unit, class, method, file path, and optional line number.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The class or type name that contains the method. This is required for Java and optional for Python module-level functions.

Link copied to clipboard

The package, module, or namespace that contains the target code, for example com.amazon.payment or payment_service.

Link copied to clipboard

The source file path relative to the project or source root, such as src/payment/PaymentProcessor.java or src/payment/PaymentProcessor.py.

Link copied to clipboard

The programming language for this instrumentation point, such as Java, Python, or JavaScript.

Link copied to clipboard

The line number to instrument. Provide this to disambiguate overloaded methods and to target a specific line when needed.

Link copied to clipboard

The method or function name to instrument, such as validateCreditCard or __init__.

Functions

Link copied to clipboard
inline fun copy(block: CodeLocation.Builder.() -> Unit = {}): CodeLocation
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String