Package org.eclipse.jdt.internal.compiler.lookup

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.closestMatch()


    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);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.