getLineByName

abstract fun getLineByName(name: String): Optional<T>

Gets a source line by its name.

Return

An optional containing the source line if found, or empty if not found.

Parameters

name

The name of the source line.