org.jetbrains.kotlin.codegen.state
Class GenerationState

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.state.GenerationState

public class GenerationState
extends java.lang.Object


Nested Class Summary
static interface GenerationState.GenerateClassFilter
           
 
Constructor Summary
GenerationState(com.intellij.openapi.project.Project project, ClassBuilderFactory builderFactory, ModuleDescriptor module, BindingContext bindingContext, java.util.List<JetFile> files)
           
GenerationState(com.intellij.openapi.project.Project project, ClassBuilderFactory builderFactory, Progress progress, ModuleDescriptor module, BindingContext bindingContext, java.util.List<JetFile> files, boolean disableCallAssertions, boolean disableParamAssertions, GenerationState.GenerateClassFilter generateClassFilter, boolean disableInline, boolean disableOptimization, java.util.Collection<FqName> packagesWithObsoleteParts, java.lang.String moduleId, DiagnosticSink diagnostics, java.io.File outDirectory)
           
 
Method Summary
 void beforeCompile()
           
 void destroy()
           
 BindingContext getBindingContext()
           
 BindingTrace getBindingTrace()
           
 ClassBuilderMode getClassBuilderMode()
           
 DiagnosticSink getDiagnostics()
           
 java.util.List<ScriptDescriptor> getEarlierScriptsForReplInterpreter()
           
 ClassFileFactory getFactory()
           
 java.util.List<JetFile> getFiles()
           
 GenerationState.GenerateClassFilter getGenerateDeclaredClassFilter()
           
 IntrinsicMethods getIntrinsics()
           
 JvmRuntimeTypes getJvmRuntimeTypes()
           
 MappingsClassesForWhenByEnum getMappingsClassesForWhenByEnum()
           
 ModuleDescriptor getModule()
           
 java.lang.String getModuleId()
           
 java.io.File getOutDirectory()
           
 java.util.Collection<FqName> getPackagesWithObsoleteParts()
           
 Progress getProgress()
           
 com.intellij.openapi.project.Project getProject()
           
 ReflectionTypes getReflectionTypes()
           
 SamWrapperClasses getSamWrapperClasses()
           
 JetTypeMapper getTypeMapper()
           
 boolean isCallAssertionsEnabled()
           
 boolean isInlineEnabled()
           
 boolean isParamAssertionsEnabled()
           
 void setEarlierScriptsForReplInterpreter(java.util.List<ScriptDescriptor> earlierScriptsForReplInterpreter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerationState

public GenerationState(@NotNull
                       com.intellij.openapi.project.Project project,
                       @NotNull
                       ClassBuilderFactory builderFactory,
                       @NotNull
                       ModuleDescriptor module,
                       @NotNull
                       BindingContext bindingContext,
                       @NotNull
                       java.util.List<JetFile> files)

GenerationState

public GenerationState(@NotNull
                       com.intellij.openapi.project.Project project,
                       @NotNull
                       ClassBuilderFactory builderFactory,
                       @NotNull
                       Progress progress,
                       @NotNull
                       ModuleDescriptor module,
                       @NotNull
                       BindingContext bindingContext,
                       @NotNull
                       java.util.List<JetFile> files,
                       boolean disableCallAssertions,
                       boolean disableParamAssertions,
                       GenerationState.GenerateClassFilter generateClassFilter,
                       boolean disableInline,
                       boolean disableOptimization,
                       @Nullable
                       java.util.Collection<FqName> packagesWithObsoleteParts,
                       @Nullable
                       java.lang.String moduleId,
                       @NotNull
                       DiagnosticSink diagnostics,
                       @Nullable
                       java.io.File outDirectory)
Method Detail

getFactory

@NotNull
public ClassFileFactory getFactory()

getProgress

@NotNull
public Progress getProgress()

getBindingContext

@NotNull
public BindingContext getBindingContext()

getClassBuilderMode

@NotNull
public ClassBuilderMode getClassBuilderMode()

getFiles

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

getBindingTrace

@NotNull
public BindingTrace getBindingTrace()

getTypeMapper

@NotNull
public JetTypeMapper getTypeMapper()

getProject

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

getIntrinsics

@NotNull
public IntrinsicMethods getIntrinsics()

getSamWrapperClasses

@NotNull
public SamWrapperClasses getSamWrapperClasses()

getMappingsClassesForWhenByEnum

@NotNull
public MappingsClassesForWhenByEnum getMappingsClassesForWhenByEnum()

isCallAssertionsEnabled

public boolean isCallAssertionsEnabled()

isParamAssertionsEnabled

public boolean isParamAssertionsEnabled()

getGenerateDeclaredClassFilter

@NotNull
public GenerationState.GenerateClassFilter getGenerateDeclaredClassFilter()

getReflectionTypes

@NotNull
public ReflectionTypes getReflectionTypes()

getJvmRuntimeTypes

@NotNull
public JvmRuntimeTypes getJvmRuntimeTypes()

getDiagnostics

@NotNull
public DiagnosticSink getDiagnostics()

isInlineEnabled

public boolean isInlineEnabled()

beforeCompile

public void beforeCompile()

destroy

public void destroy()

getEarlierScriptsForReplInterpreter

@Nullable
public java.util.List<ScriptDescriptor> getEarlierScriptsForReplInterpreter()

setEarlierScriptsForReplInterpreter

public void setEarlierScriptsForReplInterpreter(@Nullable
                                                java.util.List<ScriptDescriptor> earlierScriptsForReplInterpreter)

getModule

@NotNull
public ModuleDescriptor getModule()

getPackagesWithObsoleteParts

@NotNull
public java.util.Collection<FqName> getPackagesWithObsoleteParts()

getModuleId

@Nullable
public java.lang.String getModuleId()

getOutDirectory

@Nullable
public java.io.File getOutDirectory()