org.jetbrains.kotlin.asJava
Class LightClassGenerationSupport
java.lang.Object
org.jetbrains.kotlin.asJava.LightClassGenerationSupport
public abstract class LightClassGenerationSupport
- extends java.lang.Object
Method Summary |
abstract BindingContext |
analyze(KtElement element)
|
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<com.intellij.psi.PsiClass> |
getMultifilePartClasses(FqName partFqName,
com.intellij.psi.search.GlobalSearchScope scope)
|
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 DeclarationDescriptor |
resolveToDescriptor(KtDeclaration declaration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightClassGenerationSupport
public LightClassGenerationSupport()
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)
resolveToDescriptor
@Nullable
public abstract DeclarationDescriptor resolveToDescriptor(@NotNull
KtDeclaration declaration)
analyze
@NotNull
public abstract BindingContext analyze(@NotNull
KtElement element)
getFacadeClasses
@NotNull
public abstract java.util.Collection<com.intellij.psi.PsiClass> getFacadeClasses(@NotNull
FqName facadeFqName,
@NotNull
com.intellij.psi.search.GlobalSearchScope scope)
getMultifilePartClasses
@NotNull
public abstract java.util.Collection<com.intellij.psi.PsiClass> getMultifilePartClasses(@NotNull
FqName partFqName,
@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)