final Map<ParameterDefinition, ? extends AstNode> argumentMappings) {
VerifyArgument.notNull(method, "method");
VerifyArgument.notNull(argumentMappings, "argumentMappings");
final DecompilerContext context = new DecompilerContext();
final MethodDefinition definition = method.getUserData(Keys.METHOD_DEFINITION);
if (definition != null) {
context.setCurrentType(definition.getDeclaringType());
}
final InliningVisitor visitor = new InliningVisitor(context, argumentMappings);
visitor.run(method);