Does IntelliJ IDEA have a Create Wrapper code generator

后端 未结 2 870
名媛妹妹
名媛妹妹 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

提交回复
热议问题