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