Refactoring: remove unused methods

This commit is contained in:
Nikolay Krasko
2014-02-19 14:34:48 +04:00
parent 5afd1b23d1
commit 0448736a4c
2 changed files with 2 additions and 20 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2013 JetBrains s.r.o.
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,18 +57,6 @@ public class TraceBasedJavaResolverCache implements JavaResolverCache {
return trace.get(FQNAME_TO_CLASS_DESCRIPTOR, fqName.toUnsafe());
}
@Nullable
@Override
public SimpleFunctionDescriptor getMethod(@NotNull JavaMethod method) {
return trace.get(FUNCTION, ((JavaMethodImpl) method).getPsi());
}
@Nullable
@Override
public ConstructorDescriptor getConstructor(@NotNull JavaElement constructor) {
return trace.get(CONSTRUCTOR, ((JavaElementImpl) constructor).getPsi());
}
@Nullable
@Override
public ClassDescriptor getClass(@NotNull JavaClass javaClass) {