Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
643 B
17 lines
643 B
package org.openrs2.deob.bytecode.analysis
|
|
|
|
import org.objectweb.asm.tree.AbstractInsnNode
|
|
import org.objectweb.asm.tree.analysis.BasicValue
|
|
import org.objectweb.asm.tree.analysis.Value
|
|
|
|
public sealed class ConstSourceValue : Value {
|
|
public data class Unknown(override val basicValue: BasicValue) : ConstSourceValue()
|
|
public data class Insn(override val basicValue: BasicValue, val source: AbstractInsnNode) : ConstSourceValue()
|
|
public data class Arg(override val basicValue: BasicValue) : ConstSourceValue()
|
|
|
|
public abstract val basicValue: BasicValue
|
|
|
|
override fun getSize(): Int {
|
|
return basicValue.size
|
|
}
|
|
}
|
|
|