mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Fix qldoc
This commit is contained in:
@@ -15,7 +15,7 @@ private import semmle.code.java.dataflow.TaintTracking
|
||||
class ExternalAPI extends Callable {
|
||||
ExternalAPI() { not this.fromSource() }
|
||||
|
||||
/** Holds if this API is a candidate worth supporting */
|
||||
/** Holds if this API is not worth supporting */
|
||||
predicate isUninteresting() { isTestLibrary() or isParameterlessConstructor() }
|
||||
|
||||
/** Holds if this API is is a constructor without parameters */
|
||||
|
||||
@@ -13,7 +13,7 @@ from int usages, string jarname
|
||||
where
|
||||
usages =
|
||||
strictcount(Call c, ExternalAPI a |
|
||||
c.getCallee() = a and
|
||||
c.getCallee().getSourceDeclaration() = a and
|
||||
not c.getFile() instanceof GeneratedFile and
|
||||
a.jarContainer() = jarname and
|
||||
not a.isUninteresting()
|
||||
|
||||
Reference in New Issue
Block a user