org.jetbrains.jet.lang.descriptors.impl
Class ClassDescriptorBase
java.lang.Object
org.jetbrains.jet.lang.descriptors.impl.ClassDescriptorBase
- All Implemented Interfaces:
- Annotated, ClassDescriptor, ClassifierDescriptor, ClassOrNamespaceDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, MemberDescriptor, Named
- Direct Known Subclasses:
- LazyClassDescriptor, MutableClassDescriptorLite
public abstract class ClassDescriptorBase
- extends java.lang.Object
- implements ClassDescriptor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.ClassDescriptor |
getClassObjectDescriptor, getClassObjectType, getConstructors, getContainingDeclaration, getKind, getModality, getThisAsReceiverParameter, getUnsubstitutedInnerClassesScope, getUnsubstitutedPrimaryConstructor, getVisibility, isInner |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named |
getName |
defaultType
protected JetType defaultType
ClassDescriptorBase
public ClassDescriptorBase()
getScopeForMemberLookup
protected abstract JetScope getScopeForMemberLookup()
getMemberScope
@NotNull
public JetScope getMemberScope(java.util.List<TypeProjection> typeArguments)
- Specified by:
getMemberScope in interface ClassDescriptor
substitute
@NotNull
public ClassDescriptor substitute(@NotNull
TypeSubstitutor substitutor)
- Specified by:
substitute in interface ClassDescriptor- Specified by:
substitute in interface DeclarationDescriptor
getDefaultType
@NotNull
public JetType getDefaultType()
- Specified by:
getDefaultType in interface ClassDescriptor- Specified by:
getDefaultType in interface ClassifierDescriptor
- Returns:
- type A<T> for the class A<T>
acceptVoid
public void acceptVoid(DeclarationDescriptorVisitor<java.lang.Void,java.lang.Void> visitor)
- Specified by:
acceptVoid in interface DeclarationDescriptor
accept
public <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor,
D data)
- Specified by:
accept in interface DeclarationDescriptor