#27 The source resolver doesn't need to go over every single line:

Added a simple check that breaks the loop when it finds class definition