CodeQL library for Java/Kotlin
codeql/java-all 0.8.12 (changelog, source)
Search

Class ConfigPair

A name-value pair often used to store configuration properties for applications, such as the port, name or address of a database.

Import path

import semmle.code.configfiles.ConfigFiles

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getEffectiveName

Gets the string value of the name of this ConfigPair if it exists and the empty string if it doesn’t.

getEffectiveValue

Gets the string value of the value of this ConfigPair if it exists and the empty string if it doesn’t.

getNameElement

Gets the name of this ConfigPair, if any.

getValueElement

Gets the value of this ConfigPair, if any.

toString

Gets a printable representation of this ConfigPair.

Inherited predicates

getFile

Gets the file associated with this element.

from ConfigLocatable
getLocation

Gets the source location for this element.

from ConfigLocatable