コード例 #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);
  }
コード例 #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();
  }
コード例 #3
0
 public String getExecutedMethodName() {
   return executedMethod.getName();
 }