public void setDelegateFactory(DeclarationProviderFactory delegateFactory) { this.delegateFactory = delegateFactory; PackageMemberDeclarationProvider provider = delegateFactory.getPackageMemberDeclarationProvider(FqName.ROOT); if (rootPackageProvider == null) { assert provider != null; rootPackageProvider = new AdaptablePackageMemberDeclarationProvider(provider); } else { rootPackageProvider.addDelegateProvider(provider); } }
@NotNull @Override public ClassMemberDeclarationProvider getClassMemberDeclarationProvider( @NotNull JetClassLikeInfo classLikeInfo) { return delegateFactory.getClassMemberDeclarationProvider(classLikeInfo); }