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 9114085 commit cc48fdfCopy full SHA for cc48fdf
java/ql/lib/semmle/code/java/Type.qll
@@ -702,6 +702,12 @@ 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
708
+ this.isImplicit()
709
+ }
710
+
711
/**
712
* Gets an annotation that applies to this class.
713
*
0 commit comments