dk.brics.servletvalidator
Class FrontEndAnalysis

java.lang.Object
  extended by dk.brics.servletvalidator.FrontEndAnalysis
All Implemented Interfaces:
Analysis

public class FrontEndAnalysis
extends Object
implements Analysis

The main class of the framework. Constructing an analysis requires a base class that should be analysed and a number of helper classes that are used with the class and should be analysed along with it.


Constructor Summary
FrontEndAnalysis(AnalysisFactory fac)
          Constructs an analysis from a main class and a number of classes that should be considered helper classes.
 
Method Summary
 void analyze()
           
 FlowGraph getFlowGraph()
           
 Grammar getGrammar()
           
 void transform()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrontEndAnalysis

public FrontEndAnalysis(AnalysisFactory fac)
Constructs an analysis from a main class and a number of classes that should be considered helper classes. To avoid running any code in the classes, they should be loaded setting 'initialize' to false with Class.forName(String,boolean,ClassLoader).

Method Detail

analyze

public void analyze()
Specified by:
analyze in interface Analysis

getFlowGraph

public FlowGraph getFlowGraph()

getGrammar

public Grammar getGrammar()

transform

public void transform()


Copyright © 2008 Mathias Schwarz.