Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CBPYTHON and version Publish

...

Ql
import python

predicate is_private(Attribute a) {
    a.getName().matches("\\_%") and
    not a.getName().matches("\\_\\_%\\_\\_")
}

from Attribute access
where
    is_private(access) and
    not access.getObject().(Name).getId() = "self"
select access
Htmlcomment
hiddentrue
hashconfluence_uploader_hash:5212477943747ec1c882fb937389da851d6b6bf3cc7dc3b905331fbb2b7dfd29b5cf840e666f9ee2