disbrowser/src/main/java/com/smallhacker/disbrowser/asm/MetadataRam.kt

14 lines
352 B
Kotlin
Raw Normal View History

2019-01-11 16:35:35 +00:00
package com.smallhacker.disbrowser.asm
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonInclude
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
data class MetadataRam(
var label: String? = null,
var length: Int?
) {
@JsonIgnore
fun isEmpty() = (label == null) && (length == null)
}