6#if FIRST_PASS == false && EXPORTER == false && IMPORTER == false
11 internal sealed class FileAccessor : Accessor<object>
14 MethodAccessor<Func<string, object>> init;
15 MethodAccessor<Func<object, string>> getPath;
21 public FileAccessor(AccessorTypeResolver resolver) :
22 base(resolver,
"java.io.File")
32 public object Init(
string path) => GetConstructor(
ref init, typeof(
string)).Invoker(path);
39 public string InvokeGetPath(
object self) => GetMethod(
ref getPath, nameof(getPath), typeof(
string)).Invoker(
self);