Top Methods
kotlin.reflect.jvm.internal.impl.descriptors

public Interface PropertyDescriptor

extends kotlin.reflect.jvm.internal.impl.descriptors.VariableDescriptorWithAccessors, CallableMemberDescriptor, PropertySymbolMarker
Known Direct Implementers
kotlin.reflect.jvm.internal.impl.descriptors.impl.PropertyDescriptorImpl
Imports
org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.mpp.PropertySymbolMarker, kotlin.reflect.jvm.internal.impl.types.KotlinType, kotlin.reflect.jvm.internal.impl.types.TypeSubstitutor, java.util.Collection, .List

Method Summary

Modifier and TypeMethod and Description
public @NotNull List<PropertyAccessorDescriptor>
public @Nullable kotlin.reflect.jvm.internal.impl.descriptors.FieldDescriptor
public @Nullable kotlin.reflect.jvm.internal.impl.descriptors.FieldDescriptor
public @Nullable PropertyGetterDescriptor
public @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType
public @NotNull PropertyDescriptor
public @NotNull Collection<? extends PropertyDescriptor>
public @Nullable PropertySetterDescriptor
public boolean
isSetterProjectedOut()

In the following case, the setter is projected out: trait Tr<t> { var v: T } fun test(tr: Tr<out string>) { tr.v = null!!

public @NotNull CallableMemberDescriptor.CopyBuilder<? extends PropertyDescriptor>
public PropertyDescriptor
Inherited from kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor:
copygetKindsetOverriddenDescriptors

Method Detail

getAccessorsback to summary
public @NotNull List<PropertyAccessorDescriptor> getAccessors()
Annotations
@NotNull
getBackingFieldback to summary
public @Nullable kotlin.reflect.jvm.internal.impl.descriptors.FieldDescriptor getBackingField()
Annotations
@Nullable
getDelegateFieldback to summary
public @Nullable kotlin.reflect.jvm.internal.impl.descriptors.FieldDescriptor getDelegateField()
Annotations
@Nullable
getGetterback to summary
public @Nullable PropertyGetterDescriptor getGetter()
Annotations
@Override
@Nullable
getInTypeback to summary
public @Nullable kotlin.reflect.jvm.internal.impl.types.KotlinType getInType()
Annotations
@Nullable
getOriginalback to summary
public @NotNull PropertyDescriptor getOriginal()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.getOriginal.

Returns:@NotNull PropertyDescriptor

Doc from kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptor.getOriginal.

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

Annotations
@NotNull
@Override
getOverriddenDescriptorsback to summary
public @NotNull Collection<? extends PropertyDescriptor> getOverriddenDescriptors()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.getOverriddenDescriptors.

Annotations
@NotNull
@Override
getSetterback to summary
public @Nullable PropertySetterDescriptor getSetter()
Annotations
@Override
@Nullable
isSetterProjectedOutback to summary
public boolean isSetterProjectedOut()

In the following case, the setter is projected out: trait Tr { var v: T } fun test(tr: Tr) { tr.v = null!! // the assignment is illegal, although a read would be fine }

newCopyBuilderback to summary
public @NotNull CallableMemberDescriptor.CopyBuilder<? extends PropertyDescriptor> newCopyBuilder()

Redeclares kotlin.reflect.jvm.internal.impl.descriptors.CallableMemberDescriptor.newCopyBuilder.

Annotations
@NotNull
@Override
substituteback to summary
public PropertyDescriptor substitute(@NotNull TypeSubstitutor substitutor)
Annotations
@Override