lishunli / projectlombok

Automatically exported from code.google.com/p/projectlombok
0 stars 0 forks source link

@ParentConstructors #468

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem: I want to override a single method in a parent class. However, the 
parent class has several constructors, all of which I would like to preserve.

Solution: Use @ParentConstructors to generate all of the public constructors 
from the parent class.

This would be especially useful when creating classes that extend Exception.

Original issue reported on code.google.com by nal...@gmail.com on 2 Apr 2013 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by askon...@gmail.com on 2 Apr 2013 at 5:37