Get diagnostics for particular element
Fix memory leak by removing storing analyze result from annotators
Refactoring: extract method
Refactoring: store information about registered redeclaration errors for element