MethodBinding originalMethod = original();
if ((originalMethod.tagBits & TagBits.AnnotationResolved) == 0 && originalMethod.declaringClass instanceof SourceTypeBinding) {
ClassScope scope = ((SourceTypeBinding) originalMethod.declaringClass).scope;
if (scope != null) {
TypeDeclaration typeDecl = scope.referenceContext;
AbstractMethodDeclaration methodDecl = typeDecl.declarationOf(originalMethod);
if (methodDecl != null)
ASTNode.resolveAnnotations(methodDecl.scope, methodDecl.annotations, originalMethod);
long nullDefaultBits = this.tagBits & (TagBits.AnnotationNonNullByDefault|TagBits.AnnotationNullUnspecifiedByDefault);
if (nullDefaultBits != 0 && this.declaringClass instanceof SourceTypeBinding) {
SourceTypeBinding declaringSourceType = (SourceTypeBinding) this.declaringClass;