File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Customizations
4
4
import semmle.code.FileSystem
5
5
import semmle.code.Location
6
6
import semmle.code.Unit
7
+ import semmle.code.java.AlertFiltering
7
8
import semmle.code.java.Annotation
8
9
import semmle.code.java.Compilation
9
10
import semmle.code.java.CompilationUnit
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Provides a Java-specific instantiation of the `AlertFiltering` module.
3
+ */
4
+
5
+ private import codeql.util.AlertFiltering
6
+ private import semmle.code.Location
7
+
8
+ /** Module for applying alert location filtering. */
9
+ module AlertFiltering {
10
+ import AlertFilteringImpl< Location >
11
+
12
+ /** Applies alert filtering to the given `Top` locatable. */
13
+ predicate filterByLocatable ( Top locatable ) { filterByLocation ( locatable .getLocation ( ) ) }
14
+ }
You can’t perform that action at this time.
0 commit comments