public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { if (context == null) throw new NullPointerException("no context"); this.attributeSet = attributeSet; invokeConstructor( View.class, realView, ClassParameter.from(Context.class, context), ClassParameter.from(AttributeSet.class, attributeSet), ClassParameter.from(int.class, defStyle)); }