mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Java: tidy QLDoc in Extents.qll
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
import java
|
||||
|
||||
/*
|
||||
/**
|
||||
* Provides classes that modify the default location information
|
||||
* of `RefType`s and `Callable`s to cover their full extent.
|
||||
*
|
||||
* When this library is imported, the `hasLocationInfo` predicate of
|
||||
* `Callable` and `RefTypes` is overridden to specify their entire range
|
||||
* instead of just the range of their name. The latter can still be
|
||||
* obtained by invoking the `getLocation()` predicate.
|
||||
*
|
||||
* The full ranges are required for the purpose of associating a violation
|
||||
* with an individual `Callable` or `RefType` as opposed to a whole `File`.
|
||||
* The full ranges may be used to determine whether a given location
|
||||
* (for example, the location of an alert) is contained within the extent
|
||||
* of a `Callable` or `RefType`.
|
||||
*/
|
||||
|
||||
import java
|
||||
|
||||
/**
|
||||
* A Callable whose `hasLocationInfo` is overridden to specify its entire range
|
||||
* including the body (if any), as opposed to the location of its name only.
|
||||
|
||||
Reference in New Issue
Block a user