dk.brics.string.java
Class MethodTranslatorImpl

java.lang.Object
  extended by dk.brics.string.java.MethodTranslatorImpl
All Implemented Interfaces:
MethodTranslator

public class MethodTranslatorImpl
extends Object
implements MethodTranslator


Constructor Summary
MethodTranslatorImpl(StatementTranslatorFacade facade)
           
 
Method Summary
 List<HotspotInfo> translateMethod(SootMethod sootMethod, TranslationContext jt)
          Translates the body of the specified jimple-method, and stores the intermediate code in the appropriate intermediate Method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodTranslatorImpl

public MethodTranslatorImpl(StatementTranslatorFacade facade)
Method Detail

translateMethod

public List<HotspotInfo> translateMethod(SootMethod sootMethod,
                                         TranslationContext jt)
Description copied from interface: MethodTranslator
Translates the body of the specified jimple-method, and stores the intermediate code in the appropriate intermediate Method.

Specified by:
translateMethod in interface MethodTranslator
Parameters:
sootMethod - a method from an application class.
Returns:
a new list of all the hotspots and associated information found in the method.


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