generate TypeChecking methods based on META Types
updated UMLStateMachine.META.js