org.jetbrains.kotlin.descriptors
Interface DeclarationDescriptorWithSource

All Superinterfaces:
Annotated, DeclarationDescriptor, Named
All Known Subinterfaces:
CallableDescriptor, CallableMemberDescriptor, ClassDescriptor, ClassDescriptorWithResolutionScopes, ClassifierDescriptor, ClassOrPackageFragmentDescriptor, ConstructorDescriptor, DeclarationDescriptorNonRoot, FunctionDescriptor, JavaCallableMemberDescriptor, JavaClassDescriptor, MemberDescriptor, ParameterDescriptor, PropertyAccessorDescriptor, PropertyDescriptor, PropertyGetterDescriptor, PropertySetterDescriptor, ReceiverParameterDescriptor, SamAdapterDescriptor<D>, ScriptDescriptor, SimpleFunctionDescriptor, TypeParameterDescriptor, VariableDescriptor
All Known Implementing Classes:
AbstractClassDescriptor, AbstractLazyTypeParameterDescriptor, AbstractReceiverParameterDescriptor, AbstractTypeParameterDescriptor, AccessorForPropertyDescriptor, AccessorForPropertyDescriptor.Getter, AccessorForPropertyDescriptor.Setter, AnonymousFunctionDescriptor, ClassDescriptorBase, ClassDescriptorImpl, ConstructorDescriptorImpl, DeclarationDescriptorNonRootImpl, EnumEntrySyntheticClassDescriptor, ErrorSimpleFunctionDescriptorImpl, FunctionDescriptorImpl, FunctionExpressionDescriptor, JavaConstructorDescriptor, JavaMethodDescriptor, JavaPropertyDescriptor, LazyClassDescriptor, LazyClassReceiverParameterDescriptor, LazySubstitutingClassDescriptor, LazyTypeParameterDescriptor, LocalVariableDescriptor, MutableClassDescriptor, PropertyAccessorDescriptorImpl, PropertyDescriptorImpl, PropertyGetterDescriptorImpl, PropertySetterDescriptorImpl, ReceiverParameterDescriptorImpl, SimpleFunctionDescriptorImpl, TypeParameterDescriptorImpl, VariableDescriptorImpl, VariableDescriptorWithInitializerImpl

public interface DeclarationDescriptorWithSource
extends DeclarationDescriptor


Method Summary
 DeclarationDescriptorWithSource getOriginal()
           
 SourceElement getSource()
           
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor
accept, acceptVoid, getContainingDeclaration, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named
getName
 

Method Detail

getSource

@NotNull
SourceElement getSource()

getOriginal

@NotNull
DeclarationDescriptorWithSource 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