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:
Annotated, ClassifierDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, Named, TypeParameterDescriptor, LazyEntity

public class LazyTypeParameterDescriptor
extends AbstractLazyTypeParameterDescriptor
implements LazyEntity


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.descriptors.impl.AbstractTypeParameterDescriptor
FALLBACK_UPPER_BOUNDS_ON_RECURSION
 
Constructor Summary
LazyTypeParameterDescriptor(LazyClassContext c, LazyClassDescriptor containingDeclaration, KtTypeParameter typeParameter, int index)
           
 
Method Summary
 void forceResolveAllContents()
           
 LazyClassDescriptor getContainingDeclaration()
           
protected  SupertypeLoopChecker getSupertypeLoopChecker()
           
protected  void reportCycleError(KotlinType type)
           
protected  java.util.List<KotlinType> resolveUpperBounds()
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.AbstractLazyTypeParameterDescriptor
createTypeConstructor, toString
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.AbstractTypeParameterDescriptor
accept, getDefaultType, getIndex, getLowerBounds, getTypeConstructor, getUpperBounds, getVariance, isCapturedFromOuterDeclaration, isReified, substitute
 
Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
getOriginal, 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
getOriginal, getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
acceptVoid
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
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

getSupertypeLoopChecker

@NotNull
protected SupertypeLoopChecker getSupertypeLoopChecker()
Specified by:
getSupertypeLoopChecker in class AbstractTypeParameterDescriptor

reportCycleError

protected void reportCycleError(@NotNull
                                KotlinType type)
Specified by:
reportCycleError 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