Class DMethodParameters

java.lang.Object
org.bzdev.lang.DMethodParameters

public class DMethodParameters extends Object
Configuration parameters for dynamic methods.
  • Field Details

  • Constructor Details

    • DMethodParameters

      public DMethodParameters()
  • Method Details

    • setTracingOutput

      public static void setTracingOutput(Appendable out)
      Set the output to use for tracing when method tracing is enabled. The default is System.out.
      Parameters:
      out - the appendable to use for the output
    • getTracingOutput

      public static Appendable getTracingOutput()
      Get the output to use for tracing when method tracing is enabled. The default is System.out.
      Returns:
      the appendable to use for tracing
    • setDefaultCacheLimit

      public static void setDefaultCacheLimit(int value)
      Set the default limit for a helper's cache size. The limit is read when a helper class is initialized.
      Parameters:
      value - a positive integer giving the limit; 0 to use the default value (DEFAULT_LIMIT)
      See Also:
    • getDefaultCacheLimit

      public static int getDefaultCacheLimit()
      Get the default limit for a helper's cache size.
      Returns:
      the default limit