Package org.stjs.generator.check.statement

Class Summary
AssertCheck Java asserts don't have an equivalent - at language level in JavaScript
BlockInstanceCheck this class checks that you cannot have instance initializer blocks (other than the one for special double brace construction) as you can have only a constructor in a JavaScript class-like construction.
SynchronizedCheck ths synchronized blocks are illegal, as there is no threading model in JavaScript
VariableFinalInLoopCheck This check class verifies that all final variables are declared at the method level, as the block scope does not exists in JavaScript.
VariableWrongNameCheck check that no JavaScript keyword (that is not a Java keyword) is used as a variable name
 



Copyright © 2014. All Rights Reserved.