Examples of NativePeer


Examples of gov.nasa.jpf.vm.NativePeer

    }
  }

  private boolean isHandled(MethodInfo mi) {
    NativeMethodInfo nmi = (NativeMethodInfo) mi;
    NativePeer nativePeer = nmi.getNativePeer();

    // check if there is any native peer class associated to the class of this
    // method at all
    if(nativePeer == null) {
      return false;
    }

    Method[] mth = nativePeer.getPeerClass().getMethods();
    for(Method m: mth) {
      String jniName = nmi.getJNIName();
      if(m.getName().equals(jniName) || jniName.contains(m.getName())) {
        return true;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.