I ran into another problem -- the package name for the generated source files is null.probe, which is invalid. Where's it supposed to get the package name from?
By the way, how do I run / debug Probe itself? I tried to set a breakpoint in ProbeTask (to see where it's getting the package name) and then ran the sample project, but no dice.
package null.probe;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import org.lucasr.probe.InterceptableView;
import org.lucasr.probe.Interceptor;
import android.view.View;
public final class ProbeProxy$android_view_View extends View
implements InterceptableView {
private Interceptor mInterceptor;
public ProbeProxy$android_view_View(Context context, AttributeSet attrs) {
super(context, attrs);
}
public void setInterceptor(Interceptor interceptor) {
mInterceptor = interceptor;
}
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
if (mInterceptor != null) {
mInterceptor.onMeasure(this, widthMeasureSpec, heightMeasureSpec);
}
else {
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
}
public void superOnMeasure(int widthMeasureSpec, int heightMeasureSpec) {
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
if (mInterceptor != null) {
mInterceptor.onLayout(this, changed, left, top, right, bottom);
}
else {
super.onLayout(changed, left, top, right, bottom);
}
}
public void superOnLayout(boolean changed, int left, int top, int right, int bottom) {
super.onLayout(changed, left, top, right, bottom);
}
public void draw(Canvas canvas) {
if (mInterceptor != null) {
mInterceptor.draw(this, canvas);
}
else {
super.draw(canvas);
}
}
public void superDraw(Canvas canvas) {
super.draw(canvas);
}
protected void onDraw(Canvas canvas) {
if (mInterceptor != null) {
mInterceptor.onDraw(this, canvas);
}
else {
super.onDraw(canvas);
}
}
public void superOnDraw(Canvas canvas) {
super.onDraw(canvas);
}
public void requestLayout() {
if (mInterceptor != null) {
mInterceptor.requestLayout(this);
}
else {
super.requestLayout();
}
}
public void superRequestLayout() {
super.requestLayout();
}
public void superSetMeasuredDimension(int width, int height) {
super.setMeasuredDimension(width, height);
}
}
I ran into another problem -- the package name for the generated source files is
null.probe, which is invalid. Where's it supposed to get the package name from?By the way, how do I run / debug Probe itself? I tried to set a breakpoint in ProbeTask (to see where it's getting the package name) and then ran the sample project, but no dice.
Example: (this happens for every view class)