Examples of LuaCallable


Examples of openperipheral.api.LuaCallable

    addMethodsFromObject(methods, target);
  }

  private void addMethodsFromObject(Map<String, E> methods, Object target) {
    for (Method method : target.getClass().getMethods()) {
      LuaCallable callableMeta = method.getAnnotation(LuaCallable.class);
      if (callableMeta != null) {
        MethodDeclaration decl = new MethodDeclaration(method, callableMeta);
        for (String name : decl.getNames())
          methods.put(name, createDummyWrapper(target, decl));
      }
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.