Public Sub InitializeMaps(Class As Object)
Dim R As Reflector
R.Target = Class.As(JavaObject).RunMethod("getClass",Null)
Dim Fields() As Object = R.RunMethod("getFields")
For Each Field As JavaObject In Fields
Dim F As JavaObject = Class.As(JavaObject).GetField(Field.RunMethod("getName",Null))
Dim FType As String = GetType(F)
' If FType = "anywheresoftware.b4a.objects.collections.Map" Or FType = "anywheresoftware.b4a.objects.collections.List" Then
If FType = "anywheresoftware.b4a.objects.collections.Map" Then
F.RunMethod("Initialize",Null)
End If
Next
End Sub