/*
 * Copyright 2015, Yahoo Inc.
 * Copyrights licensed under the Apache 2.0 License.
 * See the accompanying LICENSE file for terms.
 */
package com.yahoo.squidb.processor.data;

import com.yahoo.aptutils.model.DeclaredTypeName;

/**
 * Tuple class to hold logged error info, to be written by the
 * {@link com.yahoo.squidb.processor.plugins.defaults.ErrorLoggingPlugin}.
 */
public final class ErrorInfo {

    public final DeclaredTypeName errorClass; // The class on which to log the error
    public final String element; // The specific element on which to log the error (or null/empty to log on the class)
    public final String message; // The error message to log

    public ErrorInfo(DeclaredTypeName errorClass, String element, String message) {
        this.errorClass = errorClass;
        this.element = element;
        this.message = message;
    }
}

@@ -410,52 +410,18 @@
     
-public final DeclaredTypeName errorClass; //
+/**%0A     *
  The
@@ -453,16 +453,24 @@
 e error%0A
+     */%0A
     publ
@@ -482,26 +482,52 @@
 nal 
-String element; //
+DeclaredTypeName errorClass;%0A%0A    /**%0A     *
  The
@@ -606,16 +606,24 @@
  class)%0A
+     */%0A
     publ
@@ -642,19 +642,32 @@
 ing 
-message; //
+element;%0A%0A    /**%0A     *
  The
@@ -687,16 +687,57 @@
 e to log
+%0A     */%0A    public final String message;
 %0A%0A    pu

Move comments to public javadocs