IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
MapEntryAccessor.cs
Go to the documentation of this file.
1using System;
2
4{
5
6#if FIRST_PASS == false && EXPORTER == false && IMPORTER == false
7
11 internal sealed class MapEntryAccessor : Accessor<object>
12 {
13
14 MethodAccessor<Func<object, object>> getKey;
15 MethodAccessor<Func<object, object>> getValue;
16
20 public MapEntryAccessor(AccessorTypeResolver resolver) :
21 base(resolver, "java.util.Map+Entry")
22 {
23
24 }
25
31 public object InvokeGetKey(object self) => GetMethod(ref getKey, nameof(getKey), typeof(object)).Invoker(self);
32
38 public object InvokeGetValue(object self) => GetMethod(ref getValue, nameof(getValue), typeof(object)).Invoker(self);
39
40 }
41
42#endif
43
44}