Bayou is a tool that can automatically generate Java code from a 'sketch' of the desired types and methods to use!
https://info.askbayou.com/how-to-use-bayou/
This uses a neural net trained on a corpus of existing Java code.
In Python I can choose any name for my instance variable when defining a method. In practice people almost always use `self`.
Go has the same flexibility, but using other names for the instance is totally normal!