ignore case when checking for existing methods to avoid redeclaration on update
Merge pull request #1049 from deeky666/DDC-3152

[DDC-3152] Fix redeclaration of methods on entity generation update