dotty.tools.backend.jvm.GenBCodeOps.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-compiler_3 Show documentation
Show all versions of scala3-compiler_3 Show documentation
scala3-compiler-bootstrapped
package dotty.tools
package backend
package jvm
import scala.tools.asm
object GenBCodeOps extends GenBCodeOps
class GenBCodeOps {
extension (flags: Int)
def addFlagIf(cond: Boolean, flag: Int): Int = if cond then flags | flag else flags
final val PublicStatic = asm.Opcodes.ACC_PUBLIC | asm.Opcodes.ACC_STATIC
final val PublicStaticFinal = asm.Opcodes.ACC_PUBLIC | asm.Opcodes.ACC_STATIC | asm.Opcodes.ACC_FINAL
final val PrivateStaticFinal = asm.Opcodes.ACC_PRIVATE | asm.Opcodes.ACC_STATIC | asm.Opcodes.ACC_FINAL
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy