/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.iris_audit.qualified_audit_context_util_name) %>;

@javax.annotation.Generated( "Domgen" )
public final class <%= repository.iris_audit.audit_context_util_name %>
{
  @javax.annotation.Nonnull
  private static final ThreadLocal<String> c_context = new ThreadLocal<>();

  /**
   * Specify the user that current action is audited under.
   *
   * @param username the username.
   */
  public static void set( @javax.annotation.Nonnull final String username )
  {
    c_context.set( username );
  }

  public static void clear()
  {
    c_context.set( null );
  }

  @javax.annotation.Nullable
  public static String get()
  {
    return c_context.get();
  }
}

/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.iris_audit.qualified_audit_context_util_name) %>;

@javax.annotation.Generated( "Domgen" )
public final class <%= repository.iris_audit.audit_context_util_name %>
{
  @javax.annotation.Nonnull
  private static final ThreadLocal<String> c_context = new ThreadLocal<>();

  private <%= repository.iris_audit.audit_context_util_name %>()
  {
  }

  /**
   * Specify the user that current action is audited under.
   *
   * @param username the username.
   */
  public static void set( @javax.annotation.Nonnull final String username )
  {
    c_context.set( username );
  }

  public static void clear()
  {
    c_context.set( null );
  }

  @javax.annotation.Nullable
  public static String get()
  {
    return c_context.get();
  }
}

Add private constructor to utility class
Add private constructor to utility class
