org.jetbrains.kotlin.descriptors
Interface ClassifierDescriptor

All Superinterfaces:
DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, Named
All Known Subinterfaces:
ClassDescriptor, ClassDescriptorWithResolutionScopes, ClassifierDescriptorWithTypeParameters, JavaClassDescriptor, ScriptDescriptor, TypeParameterDescriptor
All Known Implementing Classes:
AbstractClassDescriptor, AbstractLazyTypeParameterDescriptor, AbstractTypeParameterDescriptor, ClassDescriptorBase, ClassDescriptorImpl, EnumEntrySyntheticClassDescriptor, LazyClassDescriptor, LazySubstitutingClassDescriptor, LazyTypeParameterDescriptor, MutableClassDescriptor, TypeParameterDescriptorImpl

public interface ClassifierDescriptor
extends DeclarationDescriptorNonRoot


Method Summary
 SimpleType getDefaultType()
           
 ClassifierDescriptor getOriginal()
           
 TypeConstructor getTypeConstructor()
           
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorNonRoot
getContainingDeclaration
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
accept, acceptVoid, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Method Detail

getTypeConstructor

@NotNull
TypeConstructor getTypeConstructor()

getDefaultType

@NotNull
SimpleType getDefaultType()

getOriginal

@NotNull
ClassifierDescriptor getOriginal()
Specified by:
getOriginal in interface DeclarationDescriptor
Specified by:
getOriginal in interface DeclarationDescriptorWithSource
Returns:
The descriptor that corresponds to the original declaration of this element. A descriptor can be obtained from its original by substituting type arguments (of the declaring class or of the element itself). returns this object if the current descriptor is original itself