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 e0b9549Copy full SHA for e0b9549
java/ql/lib/semmle/code/java/Type.qll
@@ -702,6 +702,9 @@ 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() { super.isCompilerGenerated() or isImplicit() }
707
+
708
/**
709
* Gets an annotation that applies to this class.
710
*
0 commit comments