Break the loop if found a member of
Fix unsafe conditions
Merge pull request #215 from SlavaRa/FIX-ASGenerator-change-method-decl

Fix ASGenerator change method decl.