Skip to content

Commit 92ad02a

Browse files
author
Stephan Brandauer
committed
Java: update getRelatedLocation qldoc
1 parent be6b1d8 commit 92ad02a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/ql/src/Telemetry/AutomodelApplicationModeCharacteristics.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ module ApplicationCandidatesImpl implements SharedCharacteristics::CandidateSig
103103
/**
104104
* Returns the related location for the given endpoint.
105105
*
106-
* Related locations can be JavaDoc comments of the class or the method.
106+
* The only related location we model is the the call expression surrounding to
107+
* which the endpoint is either argument or qualifier (known as the call context).
107108
*/
108109
RelatedLocation getRelatedLocation(Endpoint e, RelatedLocationType type) {
109110
type = CallContext() and

0 commit comments

Comments
 (0)