Java lambda code synthesis. More...
#include <java_bytecode/java_bytecode_parse_tree.h>#include <java_bytecode/synthetic_methods_map.h>#include <util/irep.h>Go to the source code of this file.
Java lambda code synthesis.
Definition in file lambda_synthesis.h.
Definition at line 395 of file lambda_synthesis.cpp.
Create invokedynamic synthetic constructor.
Definition at line 475 of file lambda_synthesis.cpp.
Create invokedynamic synthetic method.
Create invokedynamic synthetic method.
For most lambdas this means creating a simple function body like TR new_synthetic_method(T1 param1, T2 param2, ...) { return target_method(capture1, capture2, ..., param1, param2, ...); }, where the first parameter might be a this parameter. For a constructor method, the generated code will be of the form TNew new_synthetic_method(T1 param1, T2 param2, ...) { return new TNew(capture1, capture2, ..., param1, param2, ...); } i.e. the TNew object will be both instantiated and constructed.
function_id Definition at line 773 of file lambda_synthesis.cpp.
Definition at line 37 of file lambda_synthesis.cpp.