org.jetbrains.kotlin.resolve
Class DescriptorToSourceUtils

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.DescriptorToSourceUtils

public final class DescriptorToSourceUtils
extends java.lang.Object


Method Summary
static com.intellij.psi.PsiElement callableDescriptorToDeclaration(CallableMemberDescriptor callable)
           
static java.util.List<com.intellij.psi.PsiElement> callableDescriptorToDeclarations(CallableMemberDescriptor callable)
           
static com.intellij.psi.PsiElement classDescriptorToDeclaration(ClassDescriptor clazz)
           
static com.intellij.psi.PsiElement descriptorToDeclaration(DeclarationDescriptor descriptor)
           
static java.util.List<com.intellij.psi.PsiElement> descriptorToDeclarations(DeclarationDescriptor descriptor)
           
static JetFile getContainingFile(DeclarationDescriptor declarationDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

descriptorToDeclaration

@Nullable
public static com.intellij.psi.PsiElement descriptorToDeclaration(@NotNull
                                                                           DeclarationDescriptor descriptor)

descriptorToDeclarations

@NotNull
public static java.util.List<com.intellij.psi.PsiElement> descriptorToDeclarations(@NotNull
                                                                                           DeclarationDescriptor descriptor)

callableDescriptorToDeclaration

@Nullable
public static com.intellij.psi.PsiElement callableDescriptorToDeclaration(@NotNull
                                                                                   CallableMemberDescriptor callable)

callableDescriptorToDeclarations

@NotNull
public static java.util.List<com.intellij.psi.PsiElement> callableDescriptorToDeclarations(@NotNull
                                                                                                   CallableMemberDescriptor callable)

classDescriptorToDeclaration

@Nullable
public static com.intellij.psi.PsiElement classDescriptorToDeclaration(@NotNull
                                                                                ClassDescriptor clazz)

getContainingFile

@Nullable
public static JetFile getContainingFile(@NotNull
                                                 DeclarationDescriptor declarationDescriptor)