@@ -1923,30 +1923,28 @@ void java_bytecode_parsert::read_bootstrapmethods_entry(classt &parsed_class)
1923
1923
1924
1924
// If parse_method_handle can't parse the lambda method, it should return {}
1925
1925
POSTCONDITION (
1926
- lambda_method_handle->handle_type !=
1927
- method_handle_typet::UNKNOWN_HANDLE);
1926
+ lambda_method_handle->handle_type != method_handle_typet::UNKNOWN_HANDLE);
1928
1927
1929
1928
lambda_method_handle->interface_type =
1930
1929
pool_entry (interface_type_argument.ref1 ).s ;
1931
- lambda_method_handle->method_type =
1932
- pool_entry (method_type_argument.ref1 ).s ;
1930
+ lambda_method_handle->method_type = pool_entry (method_type_argument.ref1 ).s ;
1933
1931
lambda_method_handle->u2_values = std::move (u2_values);
1934
1932
debug () << " lambda function reference "
1935
1933
<< id2string (lambda_method_handle->lambda_method_name )
1936
1934
<< " in class \" " << parsed_class.name << " \" "
1937
1935
<< " \n interface type is "
1938
1936
<< id2string (pool_entry (interface_type_argument.ref1 ).s )
1939
1937
<< " \n method type is "
1940
- << id2string (pool_entry (method_type_argument.ref1 ).s )
1941
- << eom;
1938
+ << id2string (pool_entry (method_type_argument.ref1 ).s ) << eom;
1942
1939
parsed_class.add_method_handle (
1943
1940
bootstrap_method_index, *lambda_method_handle);
1944
1941
}
1945
1942
}
1946
1943
1947
1944
// / Creates an unknown method handle and puts it into the parsed_class
1948
1945
// / \param parsed_class: The class whose bootstrap method handles we are using
1949
- // / \param bootstrap_method_index: The current index in the bootstrap entry table
1946
+ // / \param bootstrap_method_index: The current index in the bootstrap entry
1947
+ // / table
1950
1948
// / \param u2_values: The indices of the arguments for the call
1951
1949
void java_bytecode_parsert::store_unknown_method_handle (
1952
1950
java_bytecode_parsert::classt &parsed_class,
@@ -1955,6 +1953,5 @@ void java_bytecode_parsert::store_unknown_method_handle(
1955
1953
{
1956
1954
const lambda_method_handlet lambda_method_handle =
1957
1955
lambda_method_handlet::create_unknown_handle (move (u2_values));
1958
- parsed_class.add_method_handle (
1959
- bootstrap_method_index, lambda_method_handle);
1956
+ parsed_class.add_method_handle (bootstrap_method_index, lambda_method_handle);
1960
1957
}
0 commit comments