forked from dotnet/java-interop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaMemberModel.cs
More file actions
31 lines (27 loc) · 970 Bytes
/
JavaMemberModel.cs
File metadata and controls
31 lines (27 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
namespace Java.Interop.Tools.JavaTypeSystem.Models
{
public abstract class JavaMemberModel : IJavaResolvable
{
public string Name { get; }
public bool IsStatic { get; }
public JavaTypeModel DeclaringType { get; }
public bool IsFinal { get; }
public string Visibility { get; }
public string Deprecated { get; }
public string JniSignature { get; }
public Dictionary<string, string> PropertyBag { get; } = new Dictionary<string, string> ();
public JavaMemberModel (string name, bool isStatic, bool isFinal, string visibility, JavaTypeModel declaringType, string deprecated, string jniSignature)
{
Name = name;
IsStatic = isStatic;
IsFinal = isFinal;
Visibility = visibility;
DeclaringType = declaringType;
Deprecated = deprecated;
JniSignature = jniSignature;
}
public abstract void Resolve (JavaTypeCollection types, ICollection<JavaUnresolvableModel> unresolvables);
}
}