Skip to content

Commit 44e69e1

Browse files
committed
Kotlin: Add Modifier.isInline()
1 parent af672b4 commit 44e69e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ abstract class Modifiable extends Element {
5858
/** Holds if this element has an `internal` modifier. */
5959
predicate isInternal() { this.hasModifier("internal") }
6060

61+
/** Holds if this element has an `inline` modifier. */
62+
predicate isInline() { this.hasModifier("inline") }
63+
6164
/** Holds if this element has a `volatile` modifier. */
6265
predicate isVolatile() { this.hasModifier("volatile") }
6366

0 commit comments

Comments
 (0)