org.jetbrains.jet.lang.resolve.lazy.descriptors
Class LazyClassDescriptor
java.lang.Object
org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
org.jetbrains.jet.lang.descriptors.impl.ClassDescriptorBase
org.jetbrains.jet.lang.resolve.lazy.descriptors.LazyClassDescriptor
- All Implemented Interfaces:
- Annotated, ClassDescriptor, ClassifierDescriptor, ClassOrNamespaceDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, MemberDescriptor, Named, LazyDescriptor
public class LazyClassDescriptor
- extends ClassDescriptorBase
- implements LazyDescriptor, ClassDescriptor
| 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.Named |
getName |
LazyClassDescriptor
public LazyClassDescriptor(@NotNull
ResolveSession resolveSession,
@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
Name name,
@NotNull
JetClassLikeInfo classLikeInfo)
getScopeForMemberLookup
protected JetScope getScopeForMemberLookup()
- Specified by:
getScopeForMemberLookup in class AbstractClassDescriptor
getUnsubstitutedInnerClassesScope
@NotNull
public JetScope getUnsubstitutedInnerClassesScope()
- Specified by:
getUnsubstitutedInnerClassesScope in interface ClassDescriptor
getScopeForClassHeaderResolution
@NotNull
public JetScope getScopeForClassHeaderResolution()
getScopeForMemberDeclarationResolution
@NotNull
public JetScope getScopeForMemberDeclarationResolution()
getScopeForPropertyInitializerResolution
@NotNull
public JetScope getScopeForPropertyInitializerResolution()
getConstructors
@NotNull
public java.util.Collection<ConstructorDescriptor> getConstructors()
- Specified by:
getConstructors in interface ClassDescriptor
getUnsubstitutedPrimaryConstructor
public ConstructorDescriptor getUnsubstitutedPrimaryConstructor()
- Specified by:
getUnsubstitutedPrimaryConstructor in interface ClassDescriptor
getTypeConstructor
@NotNull
public TypeConstructor getTypeConstructor()
- Specified by:
getTypeConstructor in interface ClassifierDescriptor
getClassObjectType
public JetType getClassObjectType()
- Specified by:
getClassObjectType in interface ClassDescriptor- Specified by:
getClassObjectType in interface ClassifierDescriptor
getClassObjectDescriptor
public ClassDescriptor getClassObjectDescriptor()
- Specified by:
getClassObjectDescriptor in interface ClassDescriptor
getClassObjectInfo
@Nullable
public JetClassLikeInfo getClassObjectInfo(JetClassObject classObject)
getKind
@NotNull
public ClassKind getKind()
- Specified by:
getKind in interface ClassDescriptor
getModality
@NotNull
public Modality getModality()
- Specified by:
getModality in interface ClassDescriptor- Specified by:
getModality in interface MemberDescriptor
getVisibility
@NotNull
public Visibility getVisibility()
- Specified by:
getVisibility in interface ClassDescriptor- Specified by:
getVisibility in interface DeclarationDescriptorWithVisibility- Specified by:
getVisibility in interface MemberDescriptor
isInner
public boolean isInner()
- Specified by:
isInner in interface ClassDescriptor
- Returns:
true if this class contains a reference to its outer class (as opposed to static nested class)
getThisAsReceiverParameter
@NotNull
public ReceiverParameterDescriptor getThisAsReceiverParameter()
- Specified by:
getThisAsReceiverParameter in interface ClassDescriptor
getAnnotations
public java.util.List<AnnotationDescriptor> getAnnotations()
- Specified by:
getAnnotations in interface Annotated
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
forceResolveAllContents
public void forceResolveAllContents()
- Specified by:
forceResolveAllContents in interface LazyDescriptor