package click.kamil.springstatemachineexporter.analysis.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Builder;
import lombok.Data;
import lombok.extern.jackson.Jacksonized;

import java.util.List;

@Data
@Builder
@Jacksonized
@JsonIgnoreProperties(ignoreUnknown = true)
public class LibraryHint {
    private final String methodFqn; // e.g., "com.thirdparty.Workflow.send"
    private final String event;     // The event it triggers (static)
    private final Integer eventArgumentIndex; // e.g., 0 to extract from the 0th argument
    private final String eventArgumentMethod; // e.g., "getType" to extract from argument method call
}
