public class TableMacroImpl extends ReflectiveFunctionBase implements TableMacro
TableMacro based on a
method.method, parameters| Modifier and Type | Method and Description |
|---|---|
TranslatableTable |
apply(List<Object> arguments)
Applies arguments to yield a table.
|
static TableMacro |
create(Class<?> clazz)
Creates a
TableMacro from a class, looking for an "eval"
method. |
static TableMacro |
create(Method method)
Creates a
TableMacro from a method. |
getParameters, toFunctionParameters, toFunctionParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterspublic static TableMacro create(Class<?> clazz)
TableMacro from a class, looking for an "eval"
method. Returns null if there is no such method.public static TableMacro create(Method method)
TableMacro from a method.public TranslatableTable apply(List<Object> arguments)
apply in interface TableMacroarguments - ArgumentsCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.