mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Java: add full stops for ql docs
This commit is contained in:
@@ -24,14 +24,14 @@ predicate isWithinType(Callable c, RefType t) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if `e` is within the same package as `t`
|
||||
* Holds if `e` is within the same package as `t`.
|
||||
*/
|
||||
predicate isWithinPackage(Expr e, RefType t) {
|
||||
e.getCompilationUnit().getPackage() = t.getPackage()
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if a callable or any of its enclosing callables is annotated with @VisibleForTesting
|
||||
* Holds if a callable or any of its enclosing callables is annotated with @VisibleForTesting.
|
||||
*/
|
||||
predicate isWithinVisibleForTestingContext(Callable c) {
|
||||
c.getAnAnnotation().getType().hasName("VisibleForTesting")
|
||||
|
||||
Reference in New Issue
Block a user