package ai.decompile.analysis.model.repository;

import ai.decompile.analysis.model.entity.StaticXref;
import java.util.List;
import java.util.UUID;
import org.springframework.data.jpa.repository.JpaRepository;

public interface StaticXrefRepository extends JpaRepository<StaticXref, UUID> {
  List<StaticXref> findByCallerId(UUID callerId);

  List<StaticXref> findByCalleeId(UUID calleeId);

  int countByCallerId(UUID callerId);

  int countByCalleeId(UUID calleeId);
}
