提交 3702bdea 编写于 作者: A Andrey Breslav

getTypeConstructor() pushed back down

上级 0182b877
......@@ -29,7 +29,6 @@ import java.util.Map;
*/
public abstract class ClassDescriptorBase implements ClassDescriptor {
protected TypeConstructor typeConstructor;
protected JetType defaultType;
protected abstract JetScope getScopeForMemberLookup();
......@@ -59,12 +58,6 @@ public abstract class ClassDescriptorBase implements ClassDescriptor {
return new LazySubstitutingClassDescriptor(this, substitutor);
}
@NotNull
@Override
public TypeConstructor getTypeConstructor() {
return typeConstructor;
}
@NotNull
@Override
public JetType getDefaultType() {
......
......@@ -46,6 +46,8 @@ public class MutableClassDescriptorLite extends ClassDescriptorBase
private List<TypeParameterDescriptor> typeParameters;
private Collection<JetType> supertypes = Lists.newArrayList();
private TypeConstructor typeConstructor;
private Modality modality;
private Visibility visibility;
......@@ -113,6 +115,12 @@ public class MutableClassDescriptorLite extends ClassDescriptorBase
}
}
@NotNull
@Override
public TypeConstructor getTypeConstructor() {
return typeConstructor;
}
public void setScopeForMemberLookup(JetScope scopeForMemberLookup) {
this.scopeForMemberLookup = scopeForMemberLookup;
this.innerClassesScope = new InnerClassesScopeWrapper(scopeForMemberLookup);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册