Created new methods to get Annotations in classes or interfaces.