soot.jimple.toolkits.pointer.nativemethods
Class JavaUtilTimeZoneNative

java.lang.Object
  extended by soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
      extended by soot.jimple.toolkits.pointer.nativemethods.JavaUtilTimeZoneNative

public class JavaUtilTimeZoneNative
extends NativeMethodClass


Field Summary
 
Fields inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
helper
 
Constructor Summary
JavaUtilTimeZoneNative(NativeHelper helper)
           
 
Method Summary
 void java_util_TimeZone_getSystemTimeZoneID(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          It should return a constant for TimeZone Gets the TimeZone for the given ID.
 void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          Implements the abstract method simulateMethod.
 
Methods inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
defaultMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaUtilTimeZoneNative

public JavaUtilTimeZoneNative(NativeHelper helper)
Method Detail

simulateMethod

public void simulateMethod(SootMethod method,
                           ReferenceVariable thisVar,
                           ReferenceVariable returnVar,
                           ReferenceVariable[] params)
Implements the abstract method simulateMethod. It distributes the request to the corresponding methods by signatures.

Specified by:
simulateMethod in class NativeMethodClass

java_util_TimeZone_getSystemTimeZoneID

public void java_util_TimeZone_getSystemTimeZoneID(SootMethod method,
                                                   ReferenceVariable thisVar,
                                                   ReferenceVariable returnVar,
                                                   ReferenceVariable[] params)
It should return a constant for TimeZone Gets the TimeZone for the given ID. private static native java.lang.String getSystemTimeZoneID(java.lang.String, java.lang.String);