objection icon indicating copy to clipboard operation
objection copied to clipboard

Can I print all fields within a parent class ?

Open liangpengfei opened this issue 3 years ago • 0 comments

public abstract class FridaParent {
    public int a;
}
public class FridaChild extends FridaParent{
    public int b;
}
FridaChild child = new FridaChild();
child.b = 2;
child.a = 1;

I can print FridaChild instance, but only get filed b's value, I want to get filed a's value as well. Is objection support this?

liangpengfei avatar Jun 19 '22 10:06 liangpengfei