org.jetbrains.kotlin.resolve.lazy.descriptors
Class LazyTypeParameterDescriptor

java.lang.Object
  extended by org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
          extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
              extended by org.jetbrains.kotlin.descriptors.impl.AbstractTypeParameterDescriptor
                  extended by org.jetbrains.kotlin.descriptors.impl.AbstractLazyTypeParameterDescriptor
                      extended by org.jetbrains.kotlin.resolve.lazy.descriptors.LazyTypeParameterDescriptor
All Implemented Interfaces:
ClassifierDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, Named, TypeParameterDescriptor, LazyEntity

public class LazyTypeParameterDescriptor
extends AbstractLazyTypeParameterDescriptor
implements LazyEntity


Constructor Summary
LazyTypeParameterDescriptor(LazyClassContext c, LazyClassDescriptor containingDeclaration, KtTypeParameter typeParameter, int index)
           
 
Method Summary
 void forceResolveAllContents()
           
 LazyClassDescriptor getContainingDeclaration()
           
protected  void reportSupertypeLoopError(KotlinType type)
           
protected  java.util.List<KotlinType> resolveUpperBounds()
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.AbstractLazyTypeParameterDescriptor
toString
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.AbstractTypeParameterDescriptor
accept, getDefaultType, getIndex, getOriginal, getTypeConstructor, getUpperBounds, getVariance, isCapturedFromOuterDeclaration, isReified, substitute
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
getSource
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, toString
 
Methods inherited from class org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
getAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
acceptVoid
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Constructor Detail

LazyTypeParameterDescriptor

public LazyTypeParameterDescriptor(@NotNull
                                   LazyClassContext c,
                                   @NotNull
                                   LazyClassDescriptor containingDeclaration,
                                   @NotNull
                                   KtTypeParameter typeParameter,
                                   int index)
Method Detail

reportSupertypeLoopError

protected void reportSupertypeLoopError(@NotNull
                                        KotlinType type)
Specified by:
reportSupertypeLoopError in class AbstractTypeParameterDescriptor

resolveUpperBounds

@NotNull
protected java.util.List<KotlinType> resolveUpperBounds()
Specified by:
resolveUpperBounds in class AbstractTypeParameterDescriptor

getContainingDeclaration

@NotNull
public LazyClassDescriptor getContainingDeclaration()
Specified by:
getContainingDeclaration in interface DeclarationDescriptor
Specified by:
getContainingDeclaration in interface DeclarationDescriptorNonRoot
Overrides:
getContainingDeclaration in class DeclarationDescriptorNonRootImpl

forceResolveAllContents

public void forceResolveAllContents()
Specified by:
forceResolveAllContents in interface LazyEntity