Example usage for org.eclipse.jdt.internal.compiler.lookup TagBits IsNestedType

List of usage examples for org.eclipse.jdt.internal.compiler.lookup TagBits IsNestedType

Introduction

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

Prototype

long IsNestedType

To view the source code for org.eclipse.jdt.internal.compiler.lookup TagBits IsNestedType.

Click Source Link

Usage

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

License:Open Source License

/**
 * Answer true if the receiver is a static member type (or toplevel)
 *//* ww w  . j  a  va  2s .c o  m*/
public final boolean isStatic() {
    return (this.modifiers & (ClassFileConstants.AccStatic | ClassFileConstants.AccInterface)) != 0
            || (this.tagBits & TagBits.IsNestedType) == 0;
}