File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,16 +13,6 @@ class ExternalAPI extends Callable {
1313 /** Holds true if this API is part of a common testing library or framework */
1414 predicate isTestLibrary ( ) { getDeclaringType ( ) instanceof TestLibrary }
1515
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-
2616 /**
2717 * Gets information about the external API in the form expected by the CSV modeling framework.
2818 */
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ import semmle.code.java.GeneratedFiles
1414from ExternalAPI api
1515where
1616 not api .isTestLibrary ( ) and
17- not api .isSupported ( ) and
18- api .isInteresting ( )
17+ not api .isSupported ( )
1918select api .asCSV ( api ) as csv ,
2019 strictcount ( Call c |
2120 c .getCallee ( ) = api and
You can’t perform that action at this time.
0 commit comments