LabelName stores label name

TODO: uncomment assertions in LabelName constructor
This commit is contained in:
Stepan Koltsov
2012-05-23 02:52:31 +04:00
parent 65a6b7f726
commit 3c64fbb2a0
13 changed files with 108 additions and 28 deletions
@@ -25,6 +25,7 @@ import org.jetbrains.jet.lang.descriptors.ClassifierDescriptor;
import org.jetbrains.jet.lang.descriptors.DeclarationDescriptor;
import org.jetbrains.jet.lang.descriptors.NamespaceDescriptor;
import org.jetbrains.jet.lang.resolve.name.FqName;
import org.jetbrains.jet.lang.resolve.name.LabelName;
import org.jetbrains.jet.lang.resolve.scopes.receivers.ReceiverDescriptor;
import java.util.Collection;
@@ -56,7 +57,7 @@ public class JavaClassMembersScope extends JavaClassOrPackageScope {
@NotNull
@Override
public Collection<DeclarationDescriptor> getDeclarationsByLabel(String labelName) {
public Collection<DeclarationDescriptor> getDeclarationsByLabel(LabelName labelName) {
throw new UnsupportedOperationException(); // TODO
}