org.jetbrains.kotlin.descriptors.impl
Class AbstractTypeParameterDescriptor
java.lang.Object
org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
org.jetbrains.kotlin.descriptors.impl.AbstractTypeParameterDescriptor
- All Implemented Interfaces:
- Annotated, ClassifierDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, Named, TypeParameterDescriptor
- Direct Known Subclasses:
- AbstractLazyTypeParameterDescriptor, TypeParameterDescriptorImpl
public abstract class AbstractTypeParameterDescriptor
- extends DeclarationDescriptorNonRootImpl
- implements TypeParameterDescriptor
| 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.Named |
getName |
FALLBACK_UPPER_BOUNDS_ON_RECURSION
public static final java.util.List<KotlinType> FALLBACK_UPPER_BOUNDS_ON_RECURSION
AbstractTypeParameterDescriptor
protected AbstractTypeParameterDescriptor(@NotNull
StorageManager storageManager,
@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
Annotations annotations,
@NotNull
Name name,
@NotNull
Variance variance,
boolean isReified,
int index,
@NotNull
SourceElement source)
getSupertypeLoopChecker
@NotNull
protected abstract SupertypeLoopChecker getSupertypeLoopChecker()
reportCycleError
protected abstract void reportCycleError(@NotNull
KotlinType type)
resolveUpperBounds
@NotNull
protected abstract java.util.List<KotlinType> resolveUpperBounds()
createTypeConstructor
@NotNull
protected abstract TypeConstructor createTypeConstructor()
getVariance
@NotNull
public Variance getVariance()
- Specified by:
getVariance in interface TypeParameterDescriptor
isReified
public boolean isReified()
- Specified by:
isReified in interface TypeParameterDescriptor
getIndex
public int getIndex()
- Specified by:
getIndex in interface TypeParameterDescriptor
getUpperBounds
@NotNull
public java.util.List<KotlinType> getUpperBounds()
- Specified by:
getUpperBounds in interface TypeParameterDescriptor
getTypeConstructor
@NotNull
public TypeConstructor getTypeConstructor()
- Specified by:
getTypeConstructor in interface ClassifierDescriptor- Specified by:
getTypeConstructor in interface TypeParameterDescriptor
getDefaultType
@NotNull
public KotlinType getDefaultType()
- Specified by:
getDefaultType in interface ClassifierDescriptor
getLowerBounds
@NotNull
public java.util.List<KotlinType> getLowerBounds()
- Specified by:
getLowerBounds in interface TypeParameterDescriptor
substitute
@NotNull
@Deprecated
public TypeParameterDescriptor substitute(@NotNull
TypeSubstitutor substitutor)
- Deprecated.
- Specified by:
substitute in interface DeclarationDescriptor- Specified by:
substitute in interface TypeParameterDescriptor
accept
public <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor,
D data)
- Specified by:
accept in interface DeclarationDescriptor