IntelliJ IDEA 14.0.0 Web Help

Replace Inheritance with Delegation Dialog

Refactor | Replace Inheritance with Delegation

Item Description
Replace with delegation inheritance from Select here the parent object, inheritance to which will be replaced.
Field name Specify the name for the field of the new inner class.
Inner class name In this field specify the name for the inner class definition.
Delegate members In this area, select the members of the parent class, that will be delegated through the inner class.
Generate getter for delegated component Check this option to create a getter for the inner class.

See Also

Last modified: 12 November 2014
comments powered by Disqus