org.jetbrains.kotlin.descriptors.impl
Class DeclarationDescriptorImpl

java.lang.Object
  extended by org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
All Implemented Interfaces:
Annotated, DeclarationDescriptor, Named
Direct Known Subclasses:
AbstractReceiverParameterDescriptor, DeclarationDescriptorNonRootImpl

public abstract class DeclarationDescriptorImpl
extends AnnotatedImpl
implements DeclarationDescriptor


Constructor Summary
DeclarationDescriptorImpl(Annotations annotations, Name name)
           
 
Method Summary
 void acceptVoid(DeclarationDescriptorVisitor<java.lang.Void,java.lang.Void> visitor)
           
 Name getName()
           
 DeclarationDescriptor getOriginal()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
getAnnotations
 
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.DeclarationDescriptor
accept, getContainingDeclaration, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 

Constructor Detail

DeclarationDescriptorImpl

public DeclarationDescriptorImpl(@NotNull
                                 Annotations annotations,
                                 @NotNull
                                 Name name)
Method Detail

getName

@NotNull
public Name getName()
Specified by:
getName in interface Named

getOriginal

@NotNull
public DeclarationDescriptor getOriginal()
Specified by:
getOriginal in interface 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

acceptVoid

public void acceptVoid(DeclarationDescriptorVisitor<java.lang.Void,java.lang.Void> visitor)
Specified by:
acceptVoid in interface DeclarationDescriptor

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object