Class DoNotPrune
- java.lang.Object
-
- com.ibm.wala.ipa.callgraph.pruned.DoNotPrune
-
- All Implemented Interfaces:
PruningPolicy
public class DoNotPrune extends Object implements PruningPolicy
-
-
Field Summary
Fields Modifier and Type Field Description static DoNotPrune
INSTANCE
-
Constructor Summary
Constructors Constructor Description DoNotPrune()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
check(CGNode n)
Returns whether the given node shall be kept.
-
-
-
Field Detail
-
INSTANCE
public static DoNotPrune INSTANCE
-
-
Method Detail
-
check
public boolean check(CGNode n)
Description copied from interface:PruningPolicy
Returns whether the given node shall be kept.- Specified by:
check
in interfacePruningPolicy
- Parameters:
n
- node to be checked- Returns:
true
, if this node shall be kept,false
otherwise
-
-