Package ghidra.app.util.importer

# Interface LoadSpecChooser

All Known Implementing Classes:
  `CsHintLoadSpecChooser`, `LcsHintLoadSpecChooser`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LoadSpecChooser
Chooses a `LoadSpec` for a `Loader` to use based on some criteria

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final LoadSpecChooser`
  `CHOOSE_THE_FIRST_PREFERRED`
  Chooses the first "preferred" `LoadSpec`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `LoadSpec`
  `choose(LoaderMap loaderMap)`
  Chooses a `LoadSpec` for a `Loader` to use based on some criteria

- ## Field Details

  - ### CHOOSE_THE_FIRST_PREFERRED

    static final LoadSpecChooser CHOOSE_THE_FIRST_PREFERRED
    Chooses the first "preferred" `LoadSpec`
    See Also:
      - `LoadSpec.isPreferred()`

- ## Method Details

  - ### choose

    LoadSpec choose(LoaderMap loaderMap)
    Chooses a `LoadSpec` for a `Loader` to use based on some criteria
    Parameters:
      `loaderMap` - A `LoaderMap`
    Returns:
      The chosen `LoadSpec`, or null if one could not be found