[Soot-list] overridden methods
esherman at cse.unl.edu
esherman at cse.unl.edu
Thu Jul 30 14:31:19 EDT 2009
Hi,
I have the following questions. If we have 2 classes
class Class1 {
Type1 t1;
....
public Type1 returnType() {
return t1;
}
}
class Class2 extends Class1 {
Type2 t2;
....
@Override
public Type2 returnType() {
return t2;
}
}
where class Type2 extends class Type1.
When the methods of Class2 are iterated over Soot shows 2 methods <Class2:
Type1 returnType()> and <Class2: Type2 returnType()>. Could you explain me
why it happens? I expected to see only the latter method.
Thank you,
Elena Sherman
More information about the Soot-list
mailing list