Source: https://github.com/github/codeql/blob/main/java/ql/src/Performance/InnerClassCouldBeStatic.ql