Skip to content

Commit c709958

Browse files
committed
Put imports implementing abstract classes in private module
1 parent 3c161f9 commit c709958

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

java/ql/lib/semmle/code/java/Concepts.qll

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ overlay[local?]
77
module;
88

99
import java
10-
private import semmle.code.java.frameworks.JavaxAnnotations
10+
11+
/**
12+
* A module importing the frameworks that implement `RegexMatch`es,
13+
* ensuring that they are visible to the concepts library.
14+
*/
15+
private module Frameworks {
16+
private import semmle.code.java.JDK
17+
private import semmle.code.java.frameworks.JavaxAnnotations
18+
}
1119

1220
/**
1321
* An expression that represents a regular expression match.

0 commit comments

Comments
 (0)