case Scope.BLOCK_SCOPE :
case Scope.METHOD_SCOPE :
MethodScope methodScope = methodScope();
if (!methodScope.isInsideInitializer()){
// check method modifiers to see if deprecated
ReferenceContext referenceContext = methodScope.referenceContext;
MethodBinding context = referenceContext instanceof AbstractMethodDeclaration ?
((AbstractMethodDeclaration)referenceContext).binding : ((LambdaExpression)referenceContext).binding;
if (context != null && context.isViewedAsDeprecated())
return true;
} else if (methodScope.initializedField != null && methodScope.initializedField.isViewedAsDeprecated()) {