How to create class with no default constructor
<p>I want to create a class like "android.view.View", a class that will show "There is no default constructor available in 'android.view.View'" error if super(...) is not called in class that extend my class, sorry for my bad english, is there anyone can help me? thanks</p>

<p>--edit</p>

<p>@Eran, thanks, your comment gives me a hint, so the culprit is Lombok annotation "@Data", it gives no error even I create a constructor with parameter, any idea how to achieve this with Lombok?</p>