public class TableMacroImpl extends ReflectiveFunctionBase implements TableMacro
TableMacro based on a
method.ReflectiveFunctionBase.ParameterListBuildermethod, parameters| Modifier | Constructor and Description |
|---|---|
private |
TableMacroImpl(Method method)
Private constructor; use
create(java.lang.Class<?>). |
| 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. |
builder, classHasPublicZeroArgsConstructor, findMethod, getParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParametersprivate TableMacroImpl(Method method)
create(java.lang.Class<?>).public 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–2018 The Apache Software Foundation. All rights reserved.