CodeQL library for Java
Search

Member predicate CompilationUnit::hasName

Holds if this compilation unit has the specified name, which must not include the file extension.

predicate hasName(string name)