Package org.renjin.gcc.translate.call

Examples of org.renjin.gcc.translate.call.JvmMethodRef


  public MethodRef resolve(String functionName) {
    MethodEntry entry = methods.get(functionName);
    if (entry != null) {
      Method method = findMethod(entry.clazz, entry.methodName);
      if (method != null) {
        return new JvmMethodRef(method);
      }
    }
    for (Class clazz : referenceClasses) {
      Method method = findMethod(clazz, functionName);
      if (method != null) {
        return new JvmMethodRef(method);
      }
    }

    throw new IllegalArgumentException("No matching method for " + functionName);
  }
View Full Code Here

TOP

Related Classes of org.renjin.gcc.translate.call.JvmMethodRef

Copyright © 2018 www.massapicom. 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.