Interface PruningPolicy

All Known Implementing Classes:
ApplicationLoaderPolicy, DoNotPrune

public interface PruningPolicy
Policy which decides which branch of a call graph is going to be pruned.
Author:
Martin Mohr
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the given node shall be kept.
  • Method Details

    • check

      boolean check(CGNode n)
      Returns whether the given node shall be kept.
      Parameters:
      n - node to be checked
      Returns:
      true, if this node shall be kept, false otherwise