Exemplo n.º 1
0
  public Instruction execute(SystemState ss, KernelState ks, ThreadInfo ti) {

    // we don't have to enter/leave or push/pop a frame, that's all done
    // in NativeMethodInfo.execute()

    // !! don't re-enter if this is reexecuted !!
    return executedMethod.executeNative(ti);
  }
Exemplo n.º 2
0
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("executenative");

    if (executedMethod != null) {
      Method m = executedMethod.getMethod();
      sb.append(' ');
      sb.append(m.getDeclaringClass().getSimpleName());
      sb.append('.');
      sb.append(m.getName());
    }

    return sb.toString();
  }
Exemplo n.º 3
0
 public String getExecutedMethodName() {
   return executedMethod.getName();
 }