Skip to content

Commit bd3b317

Browse files
committed
Fix documentation of Modifier.qll
1 parent 4be183c commit bd3b317

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

java/ql/src/semmle/code/java/Modifier.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ abstract class Modifiable extends Element {
1818
* Holds if this element has modifier `m`.
1919
*
2020
* For most purposes, the more specialized predicates `isAbstract`, `isPublic`, etc.
21-
* should be used, which also take implicit modifiers into account.
21+
* should be used.
22+
*
23+
* Both this method and those specialized predicates take implicit modifiers into account.
2224
* For instance, non-default instance methods in interfaces are implicitly
2325
* abstract, so `isAbstract()` will hold for them even if `hasModifier("abstract")`
2426
* does not.

0 commit comments

Comments
 (0)