Class TableMacroImpl

    • Constructor Detail

      • TableMacroImpl

        private TableMacroImpl​(java.lang.reflect.Method method)
        Private constructor; use create(java.lang.Class<?>).
    • Method Detail

      • create

        public static TableMacro create​(java.lang.Class<?> clazz)
        Creates a TableMacro from a class, looking for an "eval" method. Returns null if there is no such method.
      • create

        public static TableMacro create​(java.lang.reflect.Method method)
        Creates a TableMacro from a method.
      • apply

        public TranslatableTable apply​(java.util.List<java.lang.Object> arguments)
        Applies arguments to yield a table.
        Specified by:
        apply in interface TableMacro
        Parameters:
        arguments - Arguments
        Returns:
        Table