[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[ve-dev] which code is parsed and executed on the VM
|
- From: "Janak Mulani" <janak.mulani@xxxxxxxxx>
- Date: Tue, 25 Oct 2005 22:59:18 +0530
- Delivered-to: ve-dev@eclipse.org
- Importance: Normal
Dear VE team,
Suppose I have a bean with generated code as follows:
class MyClass extends MyBean {
private Context context;
public void MyClass() {
super();
initialize();
}
private void initailize() {
context = XXX.getContext()
this.setBackgroundColor(Color.blue); // a method affecting visual attribute
setForegroundColor(Color.red); // will this be executed?
this.myBusinesMethod(); // will this be executed
}
private void myBusinessMethod() {
if (context == null)
this.setFont(xyz);
else
this.setFont(uvw);
}
How does VE determine which methods will be executed on the target VM? Does
it execute all the methods in init?
Thanks and regards,
Janak