KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > soot > dava > toolkits > base > AST > interProcedural > InterProceduralAnalyses


1 package soot.dava.toolkits.base.AST.interProcedural;
2
3 import soot.Scene;
4 import soot.util.Chain;
5
6 public class InterProceduralAnalyses {
7     
8     /*
9      * Method is invoked by postProcessDava in PackManager
10      * if the transformations flag is true
11      *
12      * All interproceduralAnalyses should be applied in here
13      */

14     public static void applyInterProceduralAnalyses(){
15         Chain classes = Scene.v().getApplicationClasses();
16         
17         //System.out.println("\n\nInvoking redundantFielduseEliminator");
18
(new RedundantFieldUseEliminator(classes)).applyAnalysis();
19     }
20 }
21
Popular Tags