jpype accessing java mehtod/variable whose name is reserved name in python
Figured out that jpype appends an "_" at the end for those methods/fields in its source code. So you can access it by Jpype.JClass("Foo").pass_
Wish it's documented somewhere
Any idea how this can be done? ie, if we have a variable defined in java as below
public Class Foo {
   String pass = "foo";
}
how can I access this via jpype since pass is a reserved keyword? I tried
getattr(Jpype.JClass(Foo)(), "pass") but it fails to find the attribute named pass