Example usage for org.eclipse.jdt.internal.compiler.lookup Binding getAnnotationTagBits

List of usage examples for org.eclipse.jdt.internal.compiler.lookup Binding getAnnotationTagBits

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.lookup Binding getAnnotationTagBits.

Prototype

public long getAnnotationTagBits() 

Source Link

Document

Compute the tagbits for standard annotations.

Usage

From source file:org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.java

License:Open Source License

public AnnotationHolder retrieveAnnotationHolder(Binding binding, boolean forceInitialization) {
    if (forceInitialization)
        binding.getAnnotationTagBits(); // ensure annotations are up to date
    return super.retrieveAnnotationHolder(binding, false);
}