Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba33508 + bd3b317 commit 94f0a15Copy full SHA for 94f0a15
1 file changed
java/ql/src/semmle/code/java/Modifier.qll
@@ -18,7 +18,9 @@ abstract class Modifiable extends Element {
18
* Holds if this element has modifier `m`.
19
*
20
* For most purposes, the more specialized predicates `isAbstract`, `isPublic`, etc.
21
- * should be used, which also take implicit modifiers into account.
+ * should be used.
22
+ *
23
+ * Both this method and those specialized predicates take implicit modifiers into account.
24
* For instance, non-default instance methods in interfaces are implicitly
25
* abstract, so `isAbstract()` will hold for them even if `hasModifier("abstract")`
26
* does not.
0 commit comments