Move alternateImpl detection into MethodInfo constructor.
Remove additional "if (!method.key)" check.
Merge pull request #414 from mcav/alternate-2

Move alternateImpl detection into MethodInfo constructor.
Set consumes property of a MethodInfo instead of calculating it for each invoke*. Fixes #407.
Make synthetic methods use the MethodInfo constructor.
Add some native tests. Fixes #290.
Actually add tests to NativeTest.java
Merge pull request #425 from mcav/methodinfo2

Make synthetic methods use the MethodInfo constructor.
Merge pull request #426 from marco-c/test_native

Add some native tests
Merge branch 'master' of https://github.com/andreasgal/j2me.js into signature
Add needed info to synthetic methods to calculate the consumes property
Merge pull request #428 from marco-c/signature

Pre-calculate how much space a method consumes from the stack
Remove some unneeded checks and some unreachable breaks
Remove isSynchronized property from Frame now that we have the isSynchronized property in MethodInfo
Don't use variables in resolve's switch/case. Fixes #384.
Merge pull request #431 from marco-c/remove_unneeded_ifs

Remove some unneeded checks and some unreachable breaks
Merge pull request #432 from marco-c/remove_frame_issynchronized

Remove isSynchronized property from Frame now that we have it in MethodInfo
Merge pull request #433 from marco-c/optimize_resolve_switch

Don't use variables in resolve's switch/case
Add LCDUIUtils.java, LocalDevice.java and more
Merge pull request #427 from PinZhang/pzhang/more-missing-interfaces

Add LCDUIUtils.java, LocalDevice.java and more