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

Member predicate GetterOrSetterMethod::isProperty

Holds if this method has a "pair"ed method, e.g. whether there is an equivalent getter if this is a setter, and vice versa.

predicate isProperty()