org.jetbrains.kotlin.descriptors
Interface PropertyAccessorDescriptor

All Superinterfaces:
Annotated, CallableDescriptor, CallableMemberDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, FunctionDescriptor, MemberDescriptor, Named
All Known Subinterfaces:
PropertyGetterDescriptor, PropertySetterDescriptor
All Known Implementing Classes:
AccessorForPropertyDescriptor.Getter, AccessorForPropertyDescriptor.Setter, PropertyAccessorDescriptorImpl, PropertyGetterDescriptorImpl, PropertySetterDescriptorImpl

public interface PropertyAccessorDescriptor
extends FunctionDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.kotlin.descriptors.FunctionDescriptor
FunctionDescriptor.CopyBuilder<D extends FunctionDescriptor>
 
Nested classes/interfaces inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
CallableMemberDescriptor.Kind
 
Method Summary
 PropertyAccessorDescriptor copy(DeclarationDescriptor newOwner, Modality modality, Visibility visibility, CallableMemberDescriptor.Kind kind, boolean copyOverrides)
           
 PropertyDescriptor getCorrespondingProperty()
           
 PropertyAccessorDescriptor getOriginal()
           
 java.util.Collection<? extends PropertyAccessorDescriptor> getOverriddenDescriptors()
          This method should be used with q Wgreat care, because if descriptor is substituted one, calling 'getOverriddenDescriptors' may force lazy computation, that's unnecessary in most cases.
 boolean isDefault()
           
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.FunctionDescriptor
getContainingDeclaration, getInitialSignatureDescriptor, isExternal, isHiddenToOvercomeSignatureClash, isInfix, isInline, isOperator, isTailrec, newCopyBuilder, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
getKind, setOverriddenDescriptors
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableDescriptor
getDispatchReceiverParameter, getExtensionReceiverParameter, getReturnType, getTypeParameters, getValueParameters, hasStableParameterNames, hasSynthesizedParameterNames
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.MemberDescriptor
getModality, getVisibility
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
accept, acceptVoid
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Method Detail

isDefault

boolean isDefault()

getOriginal

@NotNull
PropertyAccessorDescriptor getOriginal()
Specified by:
getOriginal in interface CallableDescriptor
Specified by:
getOriginal in interface CallableMemberDescriptor
Specified by:
getOriginal in interface DeclarationDescriptor
Specified by:
getOriginal in interface DeclarationDescriptorWithSource
Specified by:
getOriginal in interface FunctionDescriptor
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

getOverriddenDescriptors

@NotNull
java.util.Collection<? extends PropertyAccessorDescriptor> getOverriddenDescriptors()
Description copied from interface: FunctionDescriptor
This method should be used with q Wgreat care, because if descriptor is substituted one, calling 'getOverriddenDescriptors' may force lazy computation, that's unnecessary in most cases. So, if 'getOriginal().getOverriddenDescriptors()' is enough for you, please use it instead.

Specified by:
getOverriddenDescriptors in interface CallableDescriptor
Specified by:
getOverriddenDescriptors in interface CallableMemberDescriptor
Specified by:
getOverriddenDescriptors in interface FunctionDescriptor

getCorrespondingProperty

@NotNull
PropertyDescriptor getCorrespondingProperty()

copy

@NotNull
PropertyAccessorDescriptor copy(DeclarationDescriptor newOwner,
                                        Modality modality,
                                        Visibility visibility,
                                        CallableMemberDescriptor.Kind kind,
                                        boolean copyOverrides)
Specified by:
copy in interface CallableMemberDescriptor
Specified by:
copy in interface FunctionDescriptor