Beispiel #1
0
  public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) {
    if (context == null) throw new NullPointerException("no context");

    this.context = context;
    this.attributeSet = attributeSet;

    if (attributeSet != null) {
      applyAttributes();
    }

    RobolectricInternals.getConstructor(View.class, realView, Context.class).invoke(context);
  }
 public void __constructor__() {
   RobolectricInternals.getConstructor(Activity.class, realActivity, new Class[0]).invoke();
 }