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

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

Introduction

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

Prototype

FieldBinding[] UNINITIALIZED_FIELDS

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

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  w w  w .java2s.  c  o  m
}

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

License:Open Source License

boolean areFieldsInitialized() {
    return this.fields != Binding.UNINITIALIZED_FIELDS;
}