Interface Traceable

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void gatherProperties​(java.util.function.BiConsumer<java.lang.String,​java.lang.Object> consumer)
      Get the properties of this object to be included in trace messages, by supplying the property values to a supplied consumer function
      StructuredQName getObjectName()
      Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc.
    • Method Detail

      • getObjectName

        StructuredQName getObjectName()
        Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc. This is used only where the name is known statically.
        Returns:
        the QName of the object declared or manipulated by this instruction or expression
      • gatherProperties

        default void gatherProperties​(java.util.function.BiConsumer<java.lang.String,​java.lang.Object> consumer)
        Get the properties of this object to be included in trace messages, by supplying the property values to a supplied consumer function
        Parameters:
        consumer - the function to which the properties should be supplied, as (property name, value) pairs.