Does IntelliJ IDEA have a Create Wrapper code generator

后端 未结 2 899
名媛妹妹
名媛妹妹 2021-02-19 19:35

If I have an interface with a few methods. Sometimes I need to create a new implementation of the interface which wraps another instance of the interface and delegates most of

相关标签:
2条回答
  • 2021-02-19 20:16

    You can do it in two stages. First implement the interface and then introduce delegation

    0 讨论(0)
  • 2021-02-19 20:30

    Code|Delegate Methods

    0 讨论(0)
提交回复
热议问题