Rename JavaClassOrPackageScope -> JavaBaseScope
This commit is contained in:
+2
-5
@@ -28,10 +28,7 @@ import org.jetbrains.jet.lang.resolve.scopes.JetScopeImpl;
|
|||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
/**
|
public abstract class JavaBaseScope extends JetScopeImpl {
|
||||||
* @author Stepan Koltsov
|
|
||||||
*/
|
|
||||||
public abstract class JavaClassOrPackageScope extends JetScopeImpl {
|
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
protected final JavaSemanticServices semanticServices;
|
protected final JavaSemanticServices semanticServices;
|
||||||
@@ -41,7 +38,7 @@ public abstract class JavaClassOrPackageScope extends JetScopeImpl {
|
|||||||
// cache
|
// cache
|
||||||
private Collection<DeclarationDescriptor> allDescriptors;
|
private Collection<DeclarationDescriptor> allDescriptors;
|
||||||
|
|
||||||
protected JavaClassOrPackageScope(
|
protected JavaBaseScope(
|
||||||
@NotNull JavaSemanticServices semanticServices,
|
@NotNull JavaSemanticServices semanticServices,
|
||||||
@NotNull ResolverScopeData resolverScopeData
|
@NotNull ResolverScopeData resolverScopeData
|
||||||
) {
|
) {
|
||||||
+1
-1
@@ -39,7 +39,7 @@ import java.util.*;
|
|||||||
*
|
*
|
||||||
* @author abreslav
|
* @author abreslav
|
||||||
*/
|
*/
|
||||||
public class JavaClassMembersScope extends JavaClassOrPackageScope {
|
public class JavaClassMembersScope extends JavaBaseScope {
|
||||||
private final Map<Name, ClassifierDescriptor> classifiers = Maps.newHashMap();
|
private final Map<Name, ClassifierDescriptor> classifiers = Maps.newHashMap();
|
||||||
|
|
||||||
public JavaClassMembersScope(
|
public JavaClassMembersScope(
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ import org.jetbrains.jet.lang.resolve.name.Name;
|
|||||||
/**
|
/**
|
||||||
* @author abreslav
|
* @author abreslav
|
||||||
*/
|
*/
|
||||||
public class JavaPackageScope extends JavaClassOrPackageScope {
|
public class JavaPackageScope extends JavaBaseScope {
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private final FqName packageFQN;
|
private final FqName packageFQN;
|
||||||
|
|||||||
Reference in New Issue
Block a user