Hi Simon,
I will look into that.
I know that inFusion does handle the static initialization
information, and I guess that this would work as well. Only we have to
find a way to model it. I am thinking of creating
FAMIXDefaultInitializer as a a subclass of FAMIXMethod.
I created an issue:
http://code.google.com/p/moose-technology/issues/detail?id=254
Cheers,
Doru
On 8 Dec 2009, at 16:53, Simon Denier wrote:
Hi there the infusion team
I would like to know if/how inFusion handles calls in static block
in Java. I can not find such invocations in a model. Would it be
complicated to add them?
I have the following sample:
class KeyMapping {
static final KeyMapping keyMapping1 =
new KeyMapping(KeyEvent.VK_LEFT,
KeyEvent.VK_RIGHT,
KeyEvent.VK_UP,
KeyEvent.VK_SPACE);
static final KeyMapping keyMapping2 =
new KeyMapping(KeyEvent.VK_X,
KeyEvent.VK_V,
KeyEvent.VK_D,
KeyEvent.VK_ALT);
int left, right, thrust, fire;
KeyMapping(int k_left, int k_right, int k_thrust, int k_fire) {
left = k_left;
right = k_right;
thrust = k_thrust;
fire = k_fire;
}
}
--
Simon
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"We are all great at making mistakes."