diff --git a/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt b/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt index dd3207e..cc61e9f 100644 --- a/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt +++ b/src/main/kotlin/app/revanced/patcher/extensions/Extensions.kt @@ -11,13 +11,6 @@ import com.android.tools.smali.dexlib2.AccessFlags */ fun MutableMethod.newLabel(index: Int) = implementation!!.newLabelForIndex(index) -/** - * Perform a bitwise OR operation between two [AccessFlags]. - * - * @param other The other [AccessFlags] to perform the operation with. - */ -infix fun AccessFlags.or(other: AccessFlags) = value or other.value - /** * Perform a bitwise OR operation between an [AccessFlags] and an [Int]. * @@ -25,6 +18,13 @@ infix fun AccessFlags.or(other: AccessFlags) = value or other.value */ infix fun Int.or(other: AccessFlags) = this or other.value +/** + * Perform a bitwise OR operation between two [AccessFlags]. + * + * @param other The other [AccessFlags] to perform the operation with. + */ +infix fun AccessFlags.or(other: AccessFlags) = value or other.value + /** * Perform a bitwise OR operation between an [Int] and an [AccessFlags]. *