We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isCompilerGenerated
1 parent 6633952 commit 92f7afaCopy full SHA for 92f7afa
java/ql/lib/semmle/code/java/Type.qll
@@ -702,6 +702,11 @@ class Class extends ClassOrInterface {
702
/** Holds if this class is an implicit class (compact source file). */
703
predicate isImplicit() { isImplicitClass(this.getSourceDeclaration()) }
704
705
+ /** Holds if this is an auxiliary program element generated by the compiler. */
706
+ override predicate isCompilerGenerated() {
707
+ super.isCompilerGenerated() or isImplicit()
708
+ }
709
+
710
/**
711
* Gets an annotation that applies to this class.
712
*
0 commit comments