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 DoNotPruneINSTANCE
-
Constructor Summary
Constructors Constructor Description DoNotPrune()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(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:PruningPolicyReturns whether the given node shall be kept.- Specified by:
checkin interfacePruningPolicy- Parameters:
n- node to be checked- Returns:
true, if this node shall be kept,falseotherwise
-
-