Open RevolvingMadness opened 2 months ago
That is currently not possible. Can you elaborate a bit on why you would want to do that instead of declaring a method with the new name?
I have a typing library in python that allows IntelliSense to function and I want to use snake_case because that is what you are supposed to use with methods. In Java you're supposed to use camelCase for method names. So the declaration in Java would be barMethod
the method in Python would be bar_method
. I can just declare the methods in java as bar_method
or the methods in Python as barMethod
but I was just wondering if this was possible.
Let's say I have a Java class:
I want to access that
bar
method in python but with a different name. I swear a while ago I could do:But now the
name
field doesn't exist?So then in Python it would be called with
barMethod
instead ofbar
.