001    /*
002     * Copyright 2010-2013 JetBrains s.r.o.
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    
017    package org.jetbrains.jet.lang.resolve.scopes;
018    
019    import org.jetbrains.annotations.NotNull;
020    import org.jetbrains.jet.lang.descriptors.*;
021    import org.jetbrains.jet.lang.resolve.name.LabelName;
022    import org.jetbrains.jet.lang.resolve.name.Name;
023    
024    import java.util.Collection;
025    import java.util.Collections;
026    import java.util.List;
027    import java.util.Set;
028    
029    public abstract class JetScopeImpl implements JetScope {
030        @Override
031        public ClassifierDescriptor getClassifier(@NotNull Name name) {
032            return null;
033        }
034    
035        @Override
036        public ClassDescriptor getObjectDescriptor(@NotNull Name name) {
037            return null;
038        }
039    
040        @NotNull
041        @Override
042        public Set<ClassDescriptor> getObjectDescriptors() {
043            return Collections.emptySet();
044        }
045    
046        @NotNull
047        @Override
048        public Collection<VariableDescriptor> getProperties(@NotNull Name name) {
049            return Collections.emptySet();
050        }
051    
052        @Override
053        public VariableDescriptor getLocalVariable(@NotNull Name name) {
054            return null;
055        }
056    
057        @Override
058        public NamespaceDescriptor getNamespace(@NotNull Name name) {
059            return null;
060        }
061    
062        @NotNull
063        @Override
064        public Collection<FunctionDescriptor> getFunctions(@NotNull Name name) {
065            return Collections.emptySet();
066        }
067    
068        @NotNull
069        @Override
070        public Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName) {
071            return Collections.emptyList();
072        }
073    
074        @NotNull
075        @Override
076        public Collection<DeclarationDescriptor> getAllDescriptors() {
077            return Collections.emptyList();
078        }
079    
080        @NotNull
081        @Override
082        public List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy() {
083            return Collections.emptyList();
084        }
085    
086        @NotNull
087        @Override
088        public Collection<DeclarationDescriptor> getOwnDeclaredDescriptors() {
089            return Collections.emptyList();
090        }
091    }