Interface IBranchResolution


public interface IBranchResolution
Branch resolution data for a dynamic callsite. Contains a list of possible target sites, or a definitely resolved callsite.
  • Method Details

    • isEmpty

      boolean isEmpty()
      Returns:
    • getTargets

      List<BranchTarget> getTargets()
      Returns:
    • isResolved

      boolean isResolved()
      Determine if the branch was resolved.
      Returns:
      if true, getResolvedTarget() can be used to retrieve the target
    • getResolvedTarget

      IBranchTarget getResolvedTarget()
      Get the resolved target, if it exists.
      Returns:
      may be null
    • getCandidates

      List<IBranchTarget> getCandidates()
      Get the list of candidate targets, if it exists.
      Returns:
      may be empty