public class TypeParameterDescriptorImpl extends DeclarationDescriptorNonRootImpl implements TypeParameterDescriptor
getContainingDeclarationacceptVoid, getName, getOriginalgetAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainingDeclarationacceptVoid, getOriginalgetAnnotationspublic static TypeParameterDescriptor createWithDefaultBound(@NotNull DeclarationDescriptor containingDeclaration, @NotNull java.util.List<AnnotationDescriptor> annotations, boolean reified, @NotNull Variance variance, @NotNull Name name, int index)
public static TypeParameterDescriptorImpl createForFurtherModification(@NotNull DeclarationDescriptor containingDeclaration, @NotNull java.util.List<AnnotationDescriptor> annotations, boolean reified, @NotNull Variance variance, @NotNull Name name, int index)
public void setInitialized()
public boolean isReified()
isReified in interface TypeParameterDescriptorpublic Variance getVariance()
getVariance in interface TypeParameterDescriptorpublic void addUpperBound(@NotNull JetType bound)
public void addDefaultUpperBound()
@NotNull public java.util.Set<JetType> getUpperBounds()
getUpperBounds in interface TypeParameterDescriptor@NotNull public JetType getUpperBoundsAsType()
getUpperBoundsAsType in interface TypeParameterDescriptor@NotNull public java.util.Set<JetType> getLowerBounds()
getLowerBounds in interface TypeParameterDescriptor@NotNull public JetType getLowerBoundsAsType()
getLowerBoundsAsType in interface TypeParameterDescriptor@NotNull public TypeConstructor getTypeConstructor()
getTypeConstructor in interface ClassifierDescriptorgetTypeConstructor in interface TypeParameterDescriptorpublic java.lang.String toString()
toString in class DeclarationDescriptorImpl@NotNull @Deprecated public TypeParameterDescriptor substitute(@NotNull TypeSubstitutor substitutor)
substitute in interface DeclarationDescriptorsubstitute in interface TypeParameterDescriptorpublic <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor, D data)
accept in interface DeclarationDescriptor@NotNull public JetType getDefaultType()
getDefaultType in interface ClassifierDescriptorpublic JetType getClassObjectType()
getClassObjectType in interface ClassifierDescriptorpublic void addClassObjectBound(@NotNull JetType bound)
public int getIndex()
getIndex in interface TypeParameterDescriptor