dk.brics.string.java
Interface StatementTranslatorFacade

All Known Implementing Classes:
StatementTranslatorFacadeImpl

public interface StatementTranslatorFacade

Handles translation of statements when requested by MethodTranslator. Ultimately, the translation is redelegeted to StatementTranslatorImpl.

This interface hides the details of using the statement translator and assembling the created statements to a control-flow graph.

See Also:
StatementTranslatorFacadeImpl, translateStatement(Stmt, SootMethod, NullnessAnalysis, TranslationContext)

Method Summary
 TranslatedStatement translateStatement(Stmt stmt, SootMethod sootMethod, NullnessAnalysis nullAnalysis, TranslationContext jt)
          Translates the specified Jimple-statement into intermediate code, and returns the entry- and exitpoint for the created graph.
 

Method Detail

translateStatement

TranslatedStatement translateStatement(Stmt stmt,
                                       SootMethod sootMethod,
                                       NullnessAnalysis nullAnalysis,
                                       TranslationContext jt)
Translates the specified Jimple-statement into intermediate code, and returns the entry- and exitpoint for the created graph.

Parameters:
stmt - the statement to translate.
sootMethod - the method whose body contains the statement.
Returns:
entry- and exitpoint for the in created graph.


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.