Change a field type and method call
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Hi,
How can I change a field type and method call?
For example:
public class A {
public void a_method() { ... }
}
public class B extends A {
public static void a_static_method() {
...
a_method();
...
}
}
public class C {
public A instance_of_A;
public void method() {
instance_of_A.a_method();
}
}
I want to change in class C the type of instance_of_A to B and change the call
instance_of_A.a_method() to B.a_static_method()
How can i do this.
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws