class JavaLangPackageNative extends NativeMethodClass {
  public JavaLangPackageNative(NativeHelper helper) {
    super(helper);
  }

  /**
   * Implements the abstract method simulateMethod. It distributes the request to the corresponding methods by signatures.
   */
  public void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar,
      ReferenceVariable params[]) {<FILL_FUNCTION_BODY>}

  /************************** java.lang.Package *************************/
  /**
   * This is an undocumented private native method, it returns the first (without caller) method's package.
   *
   * It should be formulated as a string constants. private static native java.lang.String
   * getSystemPackage0(java.lang.String);
   */
  public void java_lang_Package_getSystemPackage0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar,
      ReferenceVariable params[]) {
    helper.assignObjectTo(returnVar, Environment.v().getStringObject());
  }

  /**
   * private static native java.lang.String getSystemPackages0()[];
   */
  public void java_lang_Package_getSystemPackages0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar,
      ReferenceVariable params[]) {
    helper.assignObjectTo(returnVar, Environment.v().getStringObject());
  }

}


    String subSignature = method.getSubSignature();

    if (subSignature.equals("java.lang.String getSystemPackage0(java.lang.String)")) {
      java_lang_Package_getSystemPackage0(method, thisVar, returnVar, params);
      return;

    } else if (subSignature.equals("java.lang.String[] getSystemPackages0()")) {
      java_lang_Package_getSystemPackages0(method, thisVar, returnVar, params);
      return;

    } else {
      defaultMethod(method, thisVar, returnVar, params);
      return;

    }
  
<methods>public void <init>(soot.jimple.toolkits.pointer.util.NativeHelper) ,public static void defaultMethod(soot.SootMethod, soot.jimple.toolkits.pointer.representations.ReferenceVariable, soot.jimple.toolkits.pointer.representations.ReferenceVariable, soot.jimple.toolkits.pointer.representations.ReferenceVariable[]) ,public abstract void simulateMethod(soot.SootMethod, soot.jimple.toolkits.pointer.representations.ReferenceVariable, soot.jimple.toolkits.pointer.representations.ReferenceVariable, soot.jimple.toolkits.pointer.representations.ReferenceVariable[]) <variables>private static final boolean DEBUG,protected soot.jimple.toolkits.pointer.util.NativeHelper helper,private static final org.slf4j.Logger logger