public static void initDefaultSourceMappingIfNeeded( @NotNull CodegenContext context, @NotNull MemberCodegen codegen, @NotNull GenerationState state) { if (state.isInlineEnabled()) { CodegenContext<?> parentContext = context.getParentContext(); while (parentContext != null) { if (parentContext instanceof MethodContext) { if (((MethodContext) parentContext).isInlineFunction()) { // just init default one to one mapping codegen.getOrCreateSourceMapper(); break; } } parentContext = parentContext.getParentContext(); } } }
@NotNull @Override public NameGenerator getInlineNameGenerator() { return delegate.getInlineNameGenerator(); }