org.jetbrains.jet.codegen.state
Class GenerationState

java.lang.Object
  extended by org.jetbrains.jet.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, BindingContext bindingContext, java.util.List<JetFile> files, boolean inlineEnabled)
           
GenerationState(com.intellij.openapi.project.Project project, ClassBuilderFactory builderFactory, Progress progress, BindingContext bindingContext, java.util.List<JetFile> files, boolean generateNotNullAssertions, boolean generateNotNullParamAssertions, GenerationState.GenerateClassFilter generateClassFilter, boolean inlineEnabled)
           
 
Method Summary
 void beforeCompile()
           
 void destroy()
           
 BindingContext getBindingContext()
           
 BindingTrace getBindingTrace()
           
 ClassBuilderMode getClassBuilderMode()
           
 java.util.List<ScriptDescriptor> getEarlierScriptsForReplInterpreter()
           
 ClassFileFactory getFactory()
           
 java.util.List<JetFile> getFiles()
           
 GenerationState.GenerateClassFilter getGenerateDeclaredClassFilter()
           
 IntrinsicMethods getIntrinsics()
           
 Progress getProgress()
           
 com.intellij.openapi.project.Project getProject()
           
 SamWrapperClasses getSamWrapperClasses()
           
 JetTypeMapper getTypeMapper()
           
 boolean isGenerateNotNullAssertions()
           
 boolean isGenerateNotNullParamAssertions()
           
 boolean isInlineEnabled()
           
 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
                       BindingContext bindingContext,
                       @NotNull
                       java.util.List<JetFile> files,
                       boolean inlineEnabled)

GenerationState

public GenerationState(@NotNull
                       com.intellij.openapi.project.Project project,
                       @NotNull
                       ClassBuilderFactory builderFactory,
                       @NotNull
                       Progress progress,
                       @NotNull
                       BindingContext bindingContext,
                       @NotNull
                       java.util.List<JetFile> files,
                       boolean generateNotNullAssertions,
                       boolean generateNotNullParamAssertions,
                       GenerationState.GenerateClassFilter generateClassFilter,
                       boolean inlineEnabled)
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()

isGenerateNotNullAssertions

public boolean isGenerateNotNullAssertions()

isGenerateNotNullParamAssertions

public boolean isGenerateNotNullParamAssertions()

getGenerateDeclaredClassFilter

public GenerationState.GenerateClassFilter getGenerateDeclaredClassFilter()

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)