org.jetbrains.kotlin.asJava
Class LightClassGenerationSupport

java.lang.Object
  extended by org.jetbrains.kotlin.asJava.LightClassGenerationSupport

public abstract class LightClassGenerationSupport
extends java.lang.Object


Constructor Summary
LightClassGenerationSupport()
           
 
Method Summary
abstract  java.util.Collection<KtClassOrObject> findClassOrObjectDeclarations(FqName fqName, com.intellij.psi.search.GlobalSearchScope searchScope)
           
abstract  java.util.Collection<KtClassOrObject> findClassOrObjectDeclarationsInPackage(FqName packageFqName, com.intellij.psi.search.GlobalSearchScope searchScope)
           
abstract  java.util.Collection<KtFile> findFilesForFacade(FqName facadeFqName, com.intellij.psi.search.GlobalSearchScope scope)
           
abstract  java.util.Collection<KtFile> findFilesForPackage(FqName fqName, com.intellij.psi.search.GlobalSearchScope searchScope)
           
abstract  LightClassConstructionContext getContextForClassOrObject(KtClassOrObject classOrObject)
           
abstract  LightClassConstructionContext getContextForFacade(java.util.Collection<KtFile> files)
           
abstract  java.util.Collection<com.intellij.psi.PsiClass> getFacadeClasses(FqName facadeFqName, com.intellij.psi.search.GlobalSearchScope scope)
           
abstract  java.util.Collection<com.intellij.psi.PsiClass> getFacadeClassesInPackage(FqName packageFqName, com.intellij.psi.search.GlobalSearchScope scope)
           
abstract  java.util.Collection<java.lang.String> getFacadeNames(FqName packageFqName, com.intellij.psi.search.GlobalSearchScope scope)
           
static LightClassGenerationSupport getInstance(com.intellij.openapi.project.Project project)
           
abstract  KtLightClass getLightClass(KtClassOrObject classOrObject)
           
abstract  java.util.Collection<FqName> getSubPackages(FqName fqn, com.intellij.psi.search.GlobalSearchScope scope)
           
abstract  boolean packageExists(FqName fqName, com.intellij.psi.search.GlobalSearchScope scope)
           
abstract  ClassDescriptor resolveClassToDescriptor(KtClassOrObject classOrObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightClassGenerationSupport

public LightClassGenerationSupport()
Method Detail

getInstance

@NotNull
public static LightClassGenerationSupport getInstance(@NotNull
                                                              com.intellij.openapi.project.Project project)

getContextForClassOrObject

@NotNull
public abstract LightClassConstructionContext getContextForClassOrObject(@NotNull
                                                                                 KtClassOrObject classOrObject)

findClassOrObjectDeclarations

@NotNull
public abstract java.util.Collection<KtClassOrObject> findClassOrObjectDeclarations(@NotNull
                                                                                            FqName fqName,
                                                                                            @NotNull
                                                                                            com.intellij.psi.search.GlobalSearchScope searchScope)

findFilesForPackage

@NotNull
public abstract java.util.Collection<KtFile> findFilesForPackage(@NotNull
                                                                         FqName fqName,
                                                                         @NotNull
                                                                         com.intellij.psi.search.GlobalSearchScope searchScope)

findClassOrObjectDeclarationsInPackage

@NotNull
public abstract java.util.Collection<KtClassOrObject> findClassOrObjectDeclarationsInPackage(@NotNull
                                                                                                     FqName packageFqName,
                                                                                                     @NotNull
                                                                                                     com.intellij.psi.search.GlobalSearchScope searchScope)

packageExists

public abstract boolean packageExists(@NotNull
                                      FqName fqName,
                                      @NotNull
                                      com.intellij.psi.search.GlobalSearchScope scope)

getSubPackages

@NotNull
public abstract java.util.Collection<FqName> getSubPackages(@NotNull
                                                                    FqName fqn,
                                                                    @NotNull
                                                                    com.intellij.psi.search.GlobalSearchScope scope)

getLightClass

@Nullable
public abstract KtLightClass getLightClass(@NotNull
                                                    KtClassOrObject classOrObject)

resolveClassToDescriptor

@Nullable
public abstract ClassDescriptor resolveClassToDescriptor(@NotNull
                                                                  KtClassOrObject classOrObject)

getFacadeClasses

@NotNull
public abstract java.util.Collection<com.intellij.psi.PsiClass> getFacadeClasses(@NotNull
                                                                                         FqName facadeFqName,
                                                                                         @NotNull
                                                                                         com.intellij.psi.search.GlobalSearchScope scope)

getFacadeClassesInPackage

@NotNull
public abstract java.util.Collection<com.intellij.psi.PsiClass> getFacadeClassesInPackage(@NotNull
                                                                                                  FqName packageFqName,
                                                                                                  @NotNull
                                                                                                  com.intellij.psi.search.GlobalSearchScope scope)

getFacadeNames

@NotNull
public abstract java.util.Collection<java.lang.String> getFacadeNames(@NotNull
                                                                              FqName packageFqName,
                                                                              @NotNull
                                                                              com.intellij.psi.search.GlobalSearchScope scope)

findFilesForFacade

@NotNull
public abstract java.util.Collection<KtFile> findFilesForFacade(@NotNull
                                                                        FqName facadeFqName,
                                                                        @NotNull
                                                                        com.intellij.psi.search.GlobalSearchScope scope)

getContextForFacade

@NotNull
public abstract LightClassConstructionContext getContextForFacade(@NotNull
                                                                          java.util.Collection<KtFile> files)