@BA.Events(values = {"Method1()", "Method2()", "Method3(someObject as Object)"})
@BA.ShortName("MyClassWrapper")
public class MyClassWrapper extends MyClass {
private BA ba;
private String eventName;
private static final boolean throwErrorIfMissingSub = true;
public void Initialize(final BA ba, String EventName) {
this.ba = ba;
this.eventName = EventName;
}
@BA.Hide
@Override
public int method1() {
return (Integer) ba.raiseEvent2(MyClassWrapper.this, false, "_method1", throwErrorIfMissingSub);
}
@BA.Hide
@Override
public int method2() {
return (Integer) ba.raiseEvent2(MyClassWrapper.this, false, "_method2", throwErrorIfMissingSub);
}
@BA.Hide
@Override
public int method3(Object someObject) {
return (Integer) ba.raiseEvent2(MyClassWrapper.this, false, "_method3", throwErrorIfMissingSub, someObject);
}
}