package com.bdl.annotation.processing.model;

import com.google.auto.value.AutoValue;

/**
 * Encapsulation of Metadata for a simple value.
 *
 * @author Ben Leitner
 */
@AutoValue
public abstract class ValueMetadata {

  public abstract TypeMetadata type();
  public abstract String value();

  static ValueMetadata create(TypeMetadata type, String value) {
    return new AutoValue_ValueMetadata(type, value);
  }
}

@@ -289,16 +289,23 @@
 e();%0A%0A  
+public 
 static V
@@ -415,11 +415,179 @@
 ue);%0A  %7D
+%0A%0A  public static ValueMetadata create(Object object) %7B%0A    return new AutoValue_ValueMetadata(%0A        TypeMetadata.fromObject(object),%0A        object.toString());%0A  %7D
 %0A%7D%0A

Make ValueMetadata more public.