In Eclipse there is the handy command
Source -> Generate Delegate Methods …
Unfortunately this works only for properties of the current class, not for visible properties of one of its parent class.
Do you know a workaround with which I can create delegate methods automatically for a property inherited from a parent class?
在父类中生成它们,然后使用剪切和粘贴将它们移动到正确的位置。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.