mirror of
https://github.com/Smallhacker/disbrowser.git
synced 2024-06-03 03:29:29 +00:00
14 lines
352 B
Kotlin
14 lines
352 B
Kotlin
|
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)
|
||
|
}
|