public void put(Value value, Object object, CoderContext context) {
DeprecatedDefaultInputFile f = (DeprecatedDefaultInputFile) object;
putUTFOrNull(value, f.moduleKey());
putUTFOrNull(value, f.relativePath());
value.putString(f.getFileBaseDir().toString());
putUTFOrNull(value, f.deprecatedKey());
value.putString(f.sourceDirAbsolutePath());
putUTFOrNull(value, f.pathRelativeToSourceDir());
putUTFOrNull(value, f.absolutePath());
value.putString(f.language());
value.putString(f.type().name());