org.jetbrains.jet.lang.descriptors.impl
Class MutableClassDescriptor
java.lang.Object
org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
org.jetbrains.jet.lang.descriptors.impl.ClassDescriptorBase
org.jetbrains.jet.lang.descriptors.impl.MutableClassDescriptorLite
org.jetbrains.jet.lang.descriptors.impl.MutableClassDescriptor
- All Implemented Interfaces:
- Annotated, ClassDescriptor, ClassDescriptorWithResolutionScopes, ClassifierDescriptor, ClassOrPackageFragmentDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, MemberDescriptor, Named
public class MutableClassDescriptor
- extends MutableClassDescriptorLite
- implements ClassDescriptorWithResolutionScopes
| Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.MutableClassDescriptorLite |
addAnnotations, addSupertype, getAnnotations, getKind, getModality, getScopeForMemberLookup, getSupertypes, getTypeConstructor, getVisibility, isInner, setAnnotations, setModality, setScopeForMemberLookup, setSupertypes, setVisibility, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.ClassDescriptor |
getClassObjectType, getContainingDeclaration, getDefaultType, getKind, getMemberScope, getModality, getThisAsReceiverParameter, getUnsubstitutedInnerClassesScope, getVisibility, isInner, substitute |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named |
getName |
MutableClassDescriptor
public MutableClassDescriptor(@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
JetScope outerScope,
ClassKind kind,
boolean isInner,
Name name)
getClassObjectDescriptor
@Nullable
public MutableClassDescriptor getClassObjectDescriptor()
- Specified by:
getClassObjectDescriptor in interface ClassDescriptor- Specified by:
getClassObjectDescriptor in interface ClassDescriptorWithResolutionScopes- Overrides:
getClassObjectDescriptor in class MutableClassDescriptorLite
setPrimaryConstructor
public void setPrimaryConstructor(@NotNull
ConstructorDescriptor constructorDescriptor)
addConstructorParametersToInitializersScope
public void addConstructorParametersToInitializersScope(@NotNull
java.util.Collection<? extends VariableDescriptor> variables)
getConstructors
@NotNull
public java.util.Set<ConstructorDescriptor> getConstructors()
- Specified by:
getConstructors in interface ClassDescriptor
getUnsubstitutedPrimaryConstructor
@Nullable
public ConstructorDescriptor getUnsubstitutedPrimaryConstructor()
- Specified by:
getUnsubstitutedPrimaryConstructor in interface ClassDescriptor
getFunctions
@NotNull
public java.util.Set<SimpleFunctionDescriptor> getFunctions()
getProperties
@NotNull
public java.util.Set<PropertyDescriptor> getProperties()
getDeclaredCallableMembers
@NotNull
public java.util.Set<CallableMemberDescriptor> getDeclaredCallableMembers()
- Specified by:
getDeclaredCallableMembers in interface ClassDescriptorWithResolutionScopes
getAllCallableMembers
@NotNull
public java.util.Set<CallableMemberDescriptor> getAllCallableMembers()
setTypeParameterDescriptors
public void setTypeParameterDescriptors(java.util.List<TypeParameterDescriptor> typeParameters)
- Overrides:
setTypeParameterDescriptors in class MutableClassDescriptorLite
createTypeConstructor
public void createTypeConstructor()
- Overrides:
createTypeConstructor in class MutableClassDescriptorLite
getScopeForClassHeaderResolution
@NotNull
public JetScope getScopeForClassHeaderResolution()
- Specified by:
getScopeForClassHeaderResolution in interface ClassDescriptorWithResolutionScopes
getScopeForMemberDeclarationResolution
@NotNull
public JetScope getScopeForMemberDeclarationResolution()
- Specified by:
getScopeForMemberDeclarationResolution in interface ClassDescriptorWithResolutionScopes
getScopeForInitializerResolution
@NotNull
public JetScope getScopeForInitializerResolution()
- Specified by:
getScopeForInitializerResolution in interface ClassDescriptorWithResolutionScopes
lockScopes
public void lockScopes()
- Overrides:
lockScopes in class MutableClassDescriptorLite
getBuilder
public PackageLikeBuilder getBuilder()
- Overrides:
getBuilder in class MutableClassDescriptorLite