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

public Interface DeclarationDescriptor

extends kotlin.reflect.jvm.internal.impl.descriptors.annotations.Annotated, Named, ValidateableDescriptor, DeclarationSymbolMarker
Known Direct Subinterfaces
kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptorWithVisibility, kotlin.reflect.jvm.internal.impl.descriptors.DeclarationDescriptorWithSource
Known Direct Implementers
kotlin.reflect.jvm.internal.impl.descriptors.impl.DeclarationDescriptorImpl
Imports
org.jetbrains.annotations.NotNull, .Nullable, kotlin.reflect.jvm.internal.impl.descriptors.annotations.Annotated, kotlin.reflect.jvm.internal.impl.mpp.DeclarationSymbolMarker

Method Summary

Modifier and TypeMethod and Description
public <R, D> R
accept(DeclarationDescriptorVisitor<R, D> visitor, D data)

public void
public @Nullable DeclarationDescriptor
public @NotNull DeclarationDescriptor

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
getOriginal
()

Inherited from kotlin.reflect.jvm.internal.impl.descriptors.Named:
getName
Inherited from kotlin.reflect.jvm.internal.impl.descriptors.ValidateableDescriptor:
validate

Method Detail

acceptback to summary
public <R, D> R accept(DeclarationDescriptorVisitor<R, D> visitor, D data)
acceptVoidback to summary
public void acceptVoid(DeclarationDescriptorVisitor<Void, Void> visitor)
getContainingDeclarationback to summary
public @Nullable DeclarationDescriptor getContainingDeclaration()
Annotations
@Nullable
getOriginalback to summary
public @NotNull DeclarationDescriptor getOriginal()
Returns:@NotNull DeclarationDescriptor

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