protected override IEnumerable <string> GetSimpleReferences(Type type) { string?j = JNIEnv.TypemapManagedToJava(type); if (j != null) { yield return(j); } if (JNIEnv.IsRunningOnDesktop) { yield return(JavaNativeTypeManager.ToJniName(type)); } }
protected override string?GetSimpleReference(Type type) { string?j = JNIEnv.TypemapManagedToJava(type); if (j != null) { return(j); } if (JNIEnv.IsRunningOnDesktop) { return(JavaNativeTypeManager.ToJniName(type)); } return(null); }