Class ApplicationLoaderPolicy
- java.lang.Object
-
- com.ibm.wala.ipa.callgraph.pruned.ApplicationLoaderPolicy
-
- All Implemented Interfaces:
PruningPolicy
public class ApplicationLoaderPolicy extends Object implements PruningPolicy
Keeps a given CGNode if it stems from application code
-
-
Field Summary
Fields Modifier and Type Field Description static ApplicationLoaderPolicyINSTANCE
-
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 final ApplicationLoaderPolicy 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
-
-