CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (changelog, source)

Member predicate UriCreation::getHostArg

Gets the host argument of the newly created URI. In the case where the host is specified separately, this is only the host. In the case where the URI is parsed from an input string, such as in URI(""), this is the entire argument passed in, that is "".

Expr getHostArg()