public class LazyTypeParameterDescriptor extends java.lang.Object implements TypeParameterDescriptor, LazyDescriptor
| Constructor and Description |
|---|
LazyTypeParameterDescriptor(ResolveSession resolveSession,
LazyClassDescriptor containingDeclaration,
JetTypeParameter jetTypeParameter,
int index) |
| Modifier and Type | Method and Description |
|---|---|
<R,D> R |
accept(DeclarationDescriptorVisitor<R,D> visitor,
D data) |
void |
acceptVoid(DeclarationDescriptorVisitor<java.lang.Void,java.lang.Void> visitor) |
void |
forceResolveAllContents() |
java.util.List<AnnotationDescriptor> |
getAnnotations() |
JetType |
getClassObjectType() |
DeclarationDescriptor |
getContainingDeclaration() |
JetType |
getDefaultType() |
int |
getIndex() |
java.util.Set<JetType> |
getLowerBounds() |
JetType |
getLowerBoundsAsType() |
Name |
getName() |
DeclarationDescriptor |
getOriginal() |
TypeConstructor |
getTypeConstructor() |
java.util.Set<JetType> |
getUpperBounds() |
JetType |
getUpperBoundsAsType() |
Variance |
getVariance() |
boolean |
isReified() |
TypeParameterDescriptor |
substitute(TypeSubstitutor substitutor)
Deprecated.
|
java.lang.String |
toString() |
public LazyTypeParameterDescriptor(@NotNull ResolveSession resolveSession, @NotNull LazyClassDescriptor containingDeclaration, @NotNull JetTypeParameter jetTypeParameter, int index)
public boolean isReified()
isReified in interface TypeParameterDescriptorpublic Variance getVariance()
getVariance in interface TypeParameterDescriptor@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 TypeParameterDescriptor@NotNull public JetType getDefaultType()
getDefaultType in interface ClassifierDescriptorpublic JetType getClassObjectType()
getClassObjectType in interface ClassifierDescriptor@NotNull public DeclarationDescriptor getOriginal()
getOriginal in interface DeclarationDescriptorthis object if the current descriptor is original itself@NotNull public DeclarationDescriptor getContainingDeclaration()
getContainingDeclaration in interface DeclarationDescriptorgetContainingDeclaration in interface DeclarationDescriptorNonRoot@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 DeclarationDescriptorpublic void acceptVoid(DeclarationDescriptorVisitor<java.lang.Void,java.lang.Void> visitor)
acceptVoid in interface DeclarationDescriptorpublic int getIndex()
getIndex in interface TypeParameterDescriptorpublic java.util.List<AnnotationDescriptor> getAnnotations()
getAnnotations in interface Annotatedpublic java.lang.String toString()
toString in class java.lang.Objectpublic void forceResolveAllContents()
forceResolveAllContents in interface LazyDescriptor