org.jetbrains.jet.lang.resolve.lazy.descriptors
Class LazyTypeParameterDescriptor

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.impl.AbstractLazyTypeParameterDescriptor
      extended by org.jetbrains.jet.lang.resolve.lazy.descriptors.LazyTypeParameterDescriptor
All Implemented Interfaces:
Annotated, ClassifierDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, Named, TypeParameterDescriptor, LazyEntity

public class LazyTypeParameterDescriptor
extends AbstractLazyTypeParameterDescriptor
implements TypeParameterDescriptor, LazyEntity


Constructor Summary
LazyTypeParameterDescriptor(ResolveSession resolveSession, LazyClassDescriptor containingDeclaration, JetTypeParameter jetTypeParameter, int index)
           
 
Method Summary
 void forceResolveAllContents()
           
 LazyClassDescriptor getContainingDeclaration()
           
protected  java.util.Set<JetType> resolveUpperBounds()
           
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.AbstractLazyTypeParameterDescriptor
accept, acceptVoid, getAnnotations, getClassObjectType, getDefaultType, getIndex, getLowerBounds, getLowerBoundsAsType, getName, getOriginal, getTypeConstructor, getUpperBounds, getUpperBoundsAsType, getVariance, isReified, substitute, toString
 
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.TypeParameterDescriptor
getIndex, getLowerBounds, getLowerBoundsAsType, getTypeConstructor, getUpperBounds, getUpperBoundsAsType, getVariance, isReified, substitute
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.ClassifierDescriptor
getClassObjectType, getDefaultType
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptor
accept, acceptVoid, getOriginal
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named
getName
 

Constructor Detail

LazyTypeParameterDescriptor

public LazyTypeParameterDescriptor(@NotNull
                                   ResolveSession resolveSession,
                                   @NotNull
                                   LazyClassDescriptor containingDeclaration,
                                   @NotNull
                                   JetTypeParameter jetTypeParameter,
                                   int index)
Method Detail

resolveUpperBounds

@NotNull
protected java.util.Set<JetType> resolveUpperBounds()
Specified by:
resolveUpperBounds in class AbstractLazyTypeParameterDescriptor

getContainingDeclaration

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

forceResolveAllContents

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