Skip to content

Commit beb5687

Browse files
author
Lukasz A.J. Wrona
committed
Remove controversial get_ prefix
Because nobody could decie between: get_, create_, synthesize_, etc...
1 parent b442c60 commit beb5687

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

jbmc/src/java_bytecode/java_bytecode_language.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,11 +1174,11 @@ bool java_bytecode_languaget::convert_single_method(
11741174
get_message_handler());
11751175
break;
11761176
case synthetic_method_typet::INVOKEDYNAMIC_CAPTURE_CONSTRUCTOR:
1177-
writable_symbol.value = get_invokedynamic_synthetic_constructor(
1177+
writable_symbol.value = invokedynamic_synthetic_constructor(
11781178
function_id, symbol_table, get_message_handler());
11791179
break;
11801180
case synthetic_method_typet::INVOKEDYNAMIC_METHOD:
1181-
writable_symbol.value = get_invokedynamic_synthetic_method(
1181+
writable_symbol.value = invokedynamic_synthetic_method(
11821182
function_id, symbol_table, get_message_handler());
11831183
break;
11841184
}

jbmc/src/java_bytecode/lambda_synthesis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ static const symbolt &get_or_create_method_symbol(
362362
return symbol_table.lookup_ref(identifier);
363363
}
364364

365-
codet get_invokedynamic_synthetic_constructor(
365+
codet invokedynamic_synthetic_constructor(
366366
const irep_idt &function_id,
367367
symbol_table_baset &symbol_table,
368368
message_handlert &message_handler)
@@ -428,7 +428,7 @@ codet get_invokedynamic_synthetic_constructor(
428428
return std::move(result);
429429
}
430430

431-
codet get_invokedynamic_synthetic_method(
431+
codet invokedynamic_synthetic_method(
432432
const irep_idt &function_id,
433433
symbol_table_baset &symbol_table,
434434
message_handlert &message_handler)

jbmc/src/java_bytecode/lambda_synthesis.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ void create_invokedynamic_synthetic_classes(
3030
synthetic_methods_mapt &synthetic_methods,
3131
message_handlert &message_handler);
3232

33-
codet get_invokedynamic_synthetic_constructor(
33+
/// Create invokedynamic synthetic constructor
34+
codet invokedynamic_synthetic_constructor(
3435
const irep_idt &function_id,
3536
symbol_table_baset &symbol_table,
3637
message_handlert &message_handler);
3738

38-
codet get_invokedynamic_synthetic_method(
39+
/// Create invokedynamic synthetic method
40+
codet invokedynamic_synthetic_method(
3941
const irep_idt &function_id,
4042
symbol_table_baset &symbol_table,
4143
message_handlert &message_handler);

0 commit comments

Comments
 (0)