mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Merge pull request #9725 from igfoo/igfoo/inline
Kotlin: Extract inlineability of functions
This commit is contained in:
4
java/ql/lib/change-notes/2022-06-27-isInline.md
Normal file
4
java/ql/lib/change-notes/2022-06-27-isInline.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
Added `Modifier.isInline()`.
|
||||
@@ -58,6 +58,9 @@ abstract class Modifiable extends Element {
|
||||
/** Holds if this element has an `internal` modifier. */
|
||||
predicate isInternal() { this.hasModifier("internal") }
|
||||
|
||||
/** Holds if this element has an `inline` modifier. */
|
||||
predicate isInline() { this.hasModifier("inline") }
|
||||
|
||||
/** Holds if this element has a `volatile` modifier. */
|
||||
predicate isVolatile() { this.hasModifier("volatile") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user