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

Member predicate GEExpr::getAPrimaryQlClass

Gets the name of a primary CodeQL class to which this element belongs.

For most elements, this is simply the most precise syntactic category to which they belong; for example, AddExpr is a primary class, but BinaryExpr is not.

This predicate always has a result. If no primary class can be determined, the result is "???". If multiple primary classes match, this predicate can have multiple results.

string getAPrimaryQlClass()