this.constant = Constant.NotAConstant;
ReferenceBinding containerAnnotationType = (ReferenceBinding) this.resolvedType;
if (!containerAnnotationType.isValidBinding())
containerAnnotationType = (ReferenceBinding) containerAnnotationType.closestMatch();
Annotation repeatingAnnotation = this.containees[0];
ReferenceBinding repeatingAnnotationType = (ReferenceBinding) repeatingAnnotation.resolvedType;
if (!repeatingAnnotationType.isDeprecated() && isTypeUseDeprecated(containerAnnotationType, scope)) {
scope.problemReporter().deprecatedType(containerAnnotationType, repeatingAnnotation);
}