Fixed 'index out of bounds' on ProvidedConstructors containing invokable code.
Added isGenerated check.
Merge pull request #9 from TIHan/tihan1

Fixed 'index out of bounds' on ProvidedConstructors containing invokable...