I created a java binding and I'm getting the following error
Error 50 'C001': member names cannot be the same as their enclosing type
Upon checking the generated file, I found there was a nested class with the same name as the containing class!?!
// Metadata.xml XPath class reference: path="/api/package[@name='it.custom.printer.api.android.p001']/class[@name='c001']"
[global::Android.Runtime.Register ("it/custom/printer/api/android/p001/c001", DoNotGenerateAcw=true)]
public partial class C001 : global::Java.Lang.Object {
// Metadata.xml XPath class reference: path="/api/package[@name='it.custom.printer.api.android.p001']/class[@name='c001.c001']"
[global::Android.Runtime.Register ("it/custom/printer/api/android/p001/c001$c001", DoNotGenerateAcw=true)]
public partial class C001 : global::Java.Lang.Object {
I tried renaming the class (in metadata.xml) but this is causing a bunch of other errors. I am not sure if renaming the nested class is the right way of fixing this issue.
Can anybody help me with the java binding for the attached jar file?