File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,6 @@ class ExternalAPI extends Callable {
13
13
/** Holds true if this API is part of a common testing library or framework */
14
14
predicate isTestLibrary ( ) { getDeclaringType ( ) instanceof TestLibrary }
15
15
16
- /** Holds true if this API has inputs or outputs that are interesting to support by CodeQL. */
17
- predicate isInteresting ( ) {
18
- getNumberOfParameters ( ) > 0 and
19
- exists ( Type retType | retType = getReturnType ( ) |
20
- not retType instanceof VoidType and
21
- not retType instanceof PrimitiveType and
22
- not retType instanceof BoxedType
23
- )
24
- }
25
-
26
16
/**
27
17
* Gets information about the external API in the form expected by the CSV modeling framework.
28
18
*/
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ import semmle.code.java.GeneratedFiles
14
14
from ExternalAPI api
15
15
where
16
16
not api .isTestLibrary ( ) and
17
- not api .isSupported ( ) and
18
- api .isInteresting ( )
17
+ not api .isSupported ( )
19
18
select api .asCSV ( api ) as csv ,
20
19
strictcount ( Call c |
21
20
c .getCallee ( ) = api and
You can’t perform that action at this time.
0 commit comments