Package org.stjs.generator.check.declaration

Class Summary
ArrayTypeForbiddenCheck this class checks that you don't use java arrays in the code (the only exception is the main method - but maybe this only should also be forbidden).
ClassDuplicateMemberNameCheck checks the a field name or method exists only once in the class and its hierchy
ClassEnumWithoutMembersCheck this class checks that no member is added to an enum declaration (other than of course the enum constants)
ClassForbidExtendsSyntheticTypeCheck this checks that a class or interface does not try to extend or implement a SyntheticType as the code for this class does not exist in reality, so the calls to any method of such a type may end up in a runtime error.
ClassGlobalForbidInnerCheck as for @GlobalScope - forbid inner types of global classes - they make no sense
ClassGlobalInstanceMembersCheck as for @GlobalScope - global classes, there is not class declaration, the members are attached directly to the JavaScript global object (i.e. the window when running in the browser), the instance members have no meaning, so forbid them.
ClassImplementJavascriptFunctionCheck check that a class does not implement a @JavaScript annotated interface as this is reserved to build inline functions.
ClassNamespaceCheck this check makes sure the names used to define a namespace are JavaScript correctly defined variables, as they will be used as such
FieldInitializerCheck  
MethodDeclarationTemplateCheck this class verifies that you use @Template only inside a bridge
MethodOverloadCheck this check verifies that only one method (or constructor) with a given name has actually a body, all the other should be marked as native (or @Native).
MethodSynchronizedCheck this class checks that you don't have synchornized methods, as this feature is not supported in JavaScript
MethodVarArgParamCheck  
 



Copyright © 2014. All Rights Reserved.