org.jetbrains.jet.asJava
Class LightClassGenerationSupport

java.lang.Object
  extended by org.jetbrains.jet.asJava.LightClassGenerationSupport
Direct Known Subclasses:
CliLightClassGenerationSupport

public abstract class LightClassGenerationSupport
extends java.lang.Object


Constructor Summary
LightClassGenerationSupport()
           
 
Method Summary
abstract  LightClassConstructionContext analyzeRelevantCode(java.util.Collection<JetFile> files)
           
abstract  LightClassConstructionContext analyzeRelevantCode(JetClassOrObject classOrObject)
           
abstract  java.util.Collection<JetClassOrObject> findClassOrObjectDeclarations(FqName fqName, com.intellij.psi.search.GlobalSearchScope searchScope)
           
abstract  java.util.Collection<JetClassOrObject> findClassOrObjectDeclarationsInPackage(FqName packageFqName, com.intellij.psi.search.GlobalSearchScope searchScope)
           
abstract  java.util.Collection<JetFile> findFilesForPackage(FqName fqName, com.intellij.psi.search.GlobalSearchScope searchScope)
           
static LightClassGenerationSupport getInstance(com.intellij.openapi.project.Project project)
           
abstract  com.intellij.psi.PsiClass getPsiClass(JetClassOrObject 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)
           
 
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)

analyzeRelevantCode

@NotNull
public abstract LightClassConstructionContext analyzeRelevantCode(@NotNull
                                                                          java.util.Collection<JetFile> files)

analyzeRelevantCode

@NotNull
public abstract LightClassConstructionContext analyzeRelevantCode(@NotNull
                                                                          JetClassOrObject classOrObject)

findClassOrObjectDeclarations

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

findFilesForPackage

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

findClassOrObjectDeclarationsInPackage

@NotNull
public abstract java.util.Collection<JetClassOrObject> 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)

getPsiClass

@Nullable
public abstract com.intellij.psi.PsiClass getPsiClass(@NotNull
                                                               JetClassOrObject classOrObject)