package ai.decompile.analysis.model.dto;

import ai.decompile.analysis.model.entity.StaticLabel;

public record LabelResponse(String name, String address, String type) {
  public static LabelResponse from(StaticLabel l) {
    return new LabelResponse(l.getName(), l.getAddress(), l.getType());
  }
}
