/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ @Override public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#superInterfaces() */ public ReferenceBinding[] superInterfaces() { if (this.superInterfaces == null) { if (this.type.isHierarchyBeingConnected()) return Binding.NO_SUPERINTERFACES; // prevent superinterfaces from being assigned before they are connected this.superInterfaces = Scope.substitute(this, this.type.superInterfaces()); if (this.superInterfaces != null) { for (int i = this.superInterfaces.length; --i >= 0;) { this.typeBits |= (this.superInterfaces[i].typeBits & TypeIds.InheritableBits); if ((this.typeBits & (TypeIds.BitAutoCloseable|TypeIds.BitCloseable)) != 0) // avoid the side-effects of hasTypeBit()! this.typeBits |= applyCloseableInterfaceWhitelists(); } } } return this.superInterfaces; }