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 ApplicationLoaderPolicy
INSTANCE
-
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 final ApplicationLoaderPolicy 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
-
-