Search in sources :

Example 1 with ModuleDeclaration

use of org.eclipse.jdt.internal.compiler.ast.ModuleDeclaration in project bazel-jdt-java-toolchain by salesforce.

the class SourceModuleBinding method ensureAnnotationsResolved.

protected void ensureAnnotationsResolved() {
    if ((this.tagBits & TagBits.AnnotationResolved) == 0 && this.scope != null) {
        ModuleDeclaration module = this.scope.referenceContext.moduleDeclaration;
        ASTNode.resolveAnnotations(module.scope, module.annotations, this);
        if ((this.tagBits & TagBits.AnnotationDeprecated) != 0) {
            this.modifiers |= ClassFileConstants.AccDeprecated;
            this.tagBits |= TagBits.DeprecatedAnnotationResolved;
        }
        this.tagBits |= TagBits.AnnotationResolved;
    }
}
Also used : ModuleDeclaration(org.eclipse.jdt.internal.compiler.ast.ModuleDeclaration)

Aggregations

ModuleDeclaration (org.eclipse.jdt.internal.compiler.ast.ModuleDeclaration)1