package stexfires.core.message;

import stexfires.core.Record;

/**
 * @author Mathias Kalb
 * @since 0.1
 */
public class ClassNameMessage<T extends Record> implements RecordMessage<T> {

    @Override
    public String createMessage(T record) {
        return record.getClass().getName();
    }

}

@@ -190,76 +190,486 @@
     
-@Override%0A    public String createMessage(T record) %7B%0A        return
+public static final boolean DEFAULT_WITH_HASH_CODE = false;%0A%0A    protected final boolean withHashCode;%0A%0A    public ClassNameMessage() %7B%0A        this(DEFAULT_WITH_HASH_CODE);%0A    %7D%0A%0A    public ClassNameMessage(boolean withHashCode) %7B%0A        this.withHashCode = withHashCode;%0A    %7D%0A%0A    @Override%0A    public String createMessage(T record) %7B%0A        return withHashCode%0A                ? record.getClass().getName() + %22@%22 + Integer.toHexString(record.hashCode())%0A                :
  rec

Add optional hashCode