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 017package org.jetbrains.jet.lang.resolve.scopes; 018 019import org.jetbrains.annotations.NotNull; 020import org.jetbrains.jet.lang.descriptors.*; 021import org.jetbrains.jet.lang.resolve.name.LabelName; 022import org.jetbrains.jet.lang.resolve.name.Name; 023 024import java.util.Collection; 025import java.util.Collections; 026import java.util.List; 027import java.util.Set; 028 029public 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 @Override 075 public PropertyDescriptor getPropertyByFieldReference(@NotNull Name fieldName) { 076 return null; 077 } 078 079 @NotNull 080 @Override 081 public Collection<DeclarationDescriptor> getAllDescriptors() { 082 return Collections.emptyList(); 083 } 084 085 @NotNull 086 @Override 087 public List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy() { 088 return Collections.emptyList(); 089 } 090 091 @NotNull 092 @Override 093 public Collection<DeclarationDescriptor> getOwnDeclaredDescriptors() { 094 return Collections.emptyList(); 095 } 096}