private bool TryGetMapping(Dictionary <string, string> mappings, FullType type, out string androidx) { if (mappings.TryGetValue(type.FullName, out androidx)) { return(true); } string nested = ""; while (type.Name.Contains(".")) { nested = type.Name.Substring(type.Name.LastIndexOf(".")) + nested; type.Name = type.Name.Substring(0, type.Name.LastIndexOf(".")); if (mappings.TryGetValue(type.FullName, out androidx)) { androidx += nested; return(true); } } return(false); }
public BindingType(FullType netType, FullType javaType) { NetType = netType; JavaType = javaType; }