Package openperipheral.adapter

Examples of openperipheral.adapter.IDescriptable.signature()


  @LuaCallable(returnTypes = LuaType.STRING, description = "List all the methods available")
  public String listMethods() {
    List<String> info = Lists.newArrayList();
    for (Map.Entry<String, E> e : methods.entrySet()) {
      final IDescriptable m = e.getValue().getWrappedMethod();
      info.add(e.getKey() + m.signature());
    }
    return Joiner.on(", ").join(info);
  }

  @LuaCallable(returnTypes = LuaType.TABLE, description = "Get a complete table of information about all available methods")
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.