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

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

Introduction

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

Prototype

MethodBinding[] UNINITIALIZED_METHODS

To view the source code for org.eclipse.jdt.internal.compiler.lookup Binding UNINITIALIZED_METHODS.

Click Source Link

Usage

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

License:Open Source License

public SourceTypeBinding(char[][] compoundName, PackageBinding fPackage, ClassScope scope) {
    this.compoundName = compoundName;
    this.fPackage = fPackage;
    this.fileName = scope.referenceCompilationUnit().getFileName();
    this.modifiers = scope.referenceContext.modifiers;
    this.sourceName = scope.referenceContext.name;
    this.scope = scope;

    // expect the fields & methods to be initialized correctly later
    this.fields = Binding.UNINITIALIZED_FIELDS;
    this.methods = Binding.UNINITIALIZED_METHODS;

    computeId();//from  ww w.j  ava2 s  .  c om
}

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

License:Open Source License

boolean areMethodsInitialized() {
    return this.methods != Binding.UNINITIALIZED_METHODS;
}