org.jetbrains.kotlin.descriptors.impl
Class PropertyGetterDescriptorImpl
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.PropertyAccessorDescriptorImpl
org.jetbrains.kotlin.descriptors.impl.PropertyGetterDescriptorImpl
- All Implemented Interfaces:
- DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, Named, PropertyAccessorDescriptor, PropertyGetterDescriptor
- Direct Known Subclasses:
- AccessorForPropertyDescriptor.Getter
public class PropertyGetterDescriptorImpl
- extends PropertyAccessorDescriptorImpl
- implements PropertyGetterDescriptor
| Methods inherited from class org.jetbrains.kotlin.descriptors.impl.PropertyAccessorDescriptorImpl |
copy, getCorrespondingProperty, getCorrespondingVariable, getDispatchReceiverParameter, getExtensionReceiverParameter, getInitialSignatureDescriptor, getKind, getModality, getOverriddenDescriptors, getTypeParameters, getUserData, getVisibility, hasStableParameterNames, hasSynthesizedParameterNames, isDefault, isExternal, isHeader, isHiddenForResolutionEverywhereBesideSupercalls, isHiddenToOvercomeSignatureClash, isImpl, isInfix, isInline, isOperator, isSuspend, isTailrec, newCopyBuilder, setInitialSignatureDescriptor, setOverriddenDescriptors, setVisibility, substitute |
| 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 |
PropertyGetterDescriptorImpl
public PropertyGetterDescriptorImpl(@NotNull
PropertyDescriptor correspondingProperty,
@NotNull
Annotations annotations,
@NotNull
Modality modality,
@NotNull
Visibility visibility,
boolean isDefault,
boolean isExternal,
boolean isInline,
@NotNull
Kind kind,
@Nullable
PropertyGetterDescriptor original,
@NotNull
SourceElement source)
initialize
public void initialize(KotlinType returnType)
getOverriddenDescriptors
@NotNull
public java.util.Collection<? extends PropertyGetterDescriptor> getOverriddenDescriptors()
- Specified by:
getOverriddenDescriptors in interface PropertyAccessorDescriptor- Specified by:
getOverriddenDescriptors in interface PropertyGetterDescriptor
getValueParameters
@NotNull
public java.util.List<ValueParameterDescriptor> getValueParameters()
getReturnType
public KotlinType getReturnType()
accept
public <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor,
D data)
- Specified by:
accept in interface DeclarationDescriptor
getOriginal
@NotNull
public PropertyGetterDescriptor getOriginal()
- Specified by:
getOriginal in interface DeclarationDescriptor- Specified by:
getOriginal in interface DeclarationDescriptorWithSource- Specified by:
getOriginal in interface PropertyAccessorDescriptor- Specified by:
getOriginal in interface PropertyGetterDescriptor- Specified by:
getOriginal in class PropertyAccessorDescriptorImpl
- Returns:
- The descriptor that corresponds to the original declaration of this element.
A descriptor can be obtained from its original by substituting type arguments (of the declaring class
or of the element itself).
returns
this object if the current descriptor is original itself