File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
java/ql/lib/semmle/code/java Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11/**
22 * Provides classes and predicates for detecting conflicting accesses in the sense of the Java Memory Model.
33 */
4+ overlay [ local?]
5+ module ;
46
57import java
68import Concurrency
@@ -9,6 +11,7 @@ import Concurrency
911 * Holds if `t` is the type of a lock.
1012 * Currently a crude test of the type name.
1113 */
14+ overlay [ caller?]
1215pragma [ inline]
1316predicate isLockType ( Type t ) { t .getName ( ) .matches ( "%Lock%" ) }
1417
@@ -208,6 +211,7 @@ class ExposedFieldAccess extends FieldAccess {
208211}
209212
210213/** Holds if the location of `a` is strictly before the location of `b`. */
214+ overlay [ caller?]
211215pragma [ inline]
212216predicate orderedLocations ( Location a , Location b ) {
213217 a .getStartLine ( ) < b .getStartLine ( )
You can’t perform that action at this time.
0 commit comments