org.jetbrains.kotlin.codegen.inline
Class InliningContext
java.lang.Object
org.jetbrains.kotlin.codegen.inline.InliningContext
- Direct Known Subclasses:
- RegeneratedClassContext, RootInliningContext
public class InliningContext
- extends java.lang.Object
Constructor Summary |
InliningContext(InliningContext parent,
java.util.Map<java.lang.Integer,LambdaInfo> expressionMap,
GenerationState state,
NameGenerator nameGenerator,
TypeRemapper typeRemapper,
ReifiedTypeInliner reifiedTypeInliner,
boolean isInliningLambda,
boolean classRegeneration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
public final GenerationState state
nameGenerator
public final NameGenerator nameGenerator
typeRemapper
public final TypeRemapper typeRemapper
reifiedTypeInliner
public final ReifiedTypeInliner reifiedTypeInliner
isInliningLambda
public final boolean isInliningLambda
classRegeneration
public final boolean classRegeneration
InliningContext
public InliningContext(@Nullable
InliningContext parent,
@NotNull
java.util.Map<java.lang.Integer,LambdaInfo> expressionMap,
@NotNull
GenerationState state,
@NotNull
NameGenerator nameGenerator,
@NotNull
TypeRemapper typeRemapper,
@NotNull
ReifiedTypeInliner reifiedTypeInliner,
boolean isInliningLambda,
boolean classRegeneration)
subInline
@NotNull
public InliningContext subInline(@NotNull
NameGenerator generator)
subInlineLambda
@NotNull
public InliningContext subInlineLambda(@NotNull
LambdaInfo lambdaInfo)
subInlineWithClassRegeneration
@NotNull
public InliningContext subInlineWithClassRegeneration(@NotNull
NameGenerator generator,
@NotNull
java.util.Map<java.lang.String,java.lang.String> newTypeMappings,
@NotNull
InlineCallSiteInfo callSiteInfo)
isRoot
public boolean isRoot()
getRoot
@NotNull
public RootInliningContext getRoot()
getParent
@Nullable
public InliningContext getParent()
getCallSiteInfo
@NotNull
public InlineCallSiteInfo getCallSiteInfo()