IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
ClassLoaderNativeLibraryAccessor.cs
Go to the documentation of this file.
2{
3
4#if FIRST_PASS == false && EXPORTER == false && IMPORTER == false
5
9 internal sealed class ClassLoaderNativeLibraryAccessor : Accessor<object>
10 {
11
12 FieldAccessor<object, string> name;
13 FieldAccessor<object, long> handle;
14
19 public ClassLoaderNativeLibraryAccessor(AccessorTypeResolver resolver) :
20 base(resolver, "java.lang.ClassLoader+NativeLibrary")
21 {
22
23 }
24
30 public string GetName(object self) => GetField(ref name, nameof(name)).GetValue(self);
31
37 public long GetHandle(object self) => GetField(ref handle, nameof(handle)).GetValue(self);
38
39 }
40
41#endif
42
43}