org.jetbrains.jet.cli.jvm.compiler
Class JetCoreEnvironment

java.lang.Object
  extended by org.jetbrains.jet.cli.jvm.compiler.JetCoreEnvironment

public class JetCoreEnvironment
extends java.lang.Object


Method Summary
static JetCoreEnvironment createForProduction(com.intellij.openapi.Disposable parentDisposable, CompilerConfiguration configuration)
           
static JetCoreEnvironment createForTests(com.intellij.openapi.Disposable parentDisposable, CompilerConfiguration configuration)
           
static void disposeApplicationEnvironment()
           
 com.intellij.mock.MockApplication getApplication()
           
 CompilerConfiguration getConfiguration()
           
 com.intellij.openapi.project.Project getProject()
           
 java.util.List<JetFile> getSourceFiles()
           
static void registerApplicationServices(com.intellij.core.JavaCoreApplicationEnvironment applicationEnvironment)
           
static void registerProjectServices(com.intellij.core.JavaCoreProjectEnvironment projectEnvironment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createForProduction

@NotNull
public static JetCoreEnvironment createForProduction(@NotNull
                                                             com.intellij.openapi.Disposable parentDisposable,
                                                             @NotNull
                                                             CompilerConfiguration configuration)

createForTests

@TestOnly
@NotNull
public static JetCoreEnvironment createForTests(@NotNull
                                                                 com.intellij.openapi.Disposable parentDisposable,
                                                                 @NotNull
                                                                 CompilerConfiguration configuration)

disposeApplicationEnvironment

public static void disposeApplicationEnvironment()

registerApplicationServices

public static void registerApplicationServices(@NotNull
                                               com.intellij.core.JavaCoreApplicationEnvironment applicationEnvironment)

registerProjectServices

public static void registerProjectServices(@NotNull
                                           com.intellij.core.JavaCoreProjectEnvironment projectEnvironment)

getConfiguration

@NotNull
public CompilerConfiguration getConfiguration()

getApplication

@NotNull
public com.intellij.mock.MockApplication getApplication()

getProject

@NotNull
public com.intellij.openapi.project.Project getProject()

getSourceFiles

@NotNull
public java.util.List<JetFile> getSourceFiles()