remember when a method is synchronized

Reviewed By: jvillard

Differential Revision: D3322203

fbshipit-source-id: 01622d1
master
Sam Blackshear 9 years ago committed by Facebook Github Bot 1
parent 6f951e70d3
commit 5b041d46ad

@ -32,6 +32,7 @@ type t = {
is_defined: bool, /** true if the procedure is defined, and not just declared */
is_objc_instance_method: bool, /** the procedure is an objective-C instance method */
is_cpp_instance_method: bool, /** the procedure is an C++ instance method */
is_java_synchronized_method: bool, /** the procedure is a Java synchronized method */
mutable is_synthetic_method: bool, /** the procedure is a synthetic method */
language: Config.language, /** language of the procedure */
loc: Location.t, /** location of this procedure in the source code */
@ -54,6 +55,7 @@ let default proc_name language => {
is_abstract: false,
is_bridge_method: false,
is_cpp_instance_method: false,
is_java_synchronized_method: false,
is_defined: false,
is_objc_instance_method: false,
is_synthetic_method: false,

@ -26,6 +26,7 @@ type t = {
is_defined: bool, /** true if the procedure is defined, and not just declared */
is_objc_instance_method: bool, /** the procedure is an objective-C instance method */
is_cpp_instance_method: bool, /** the procedure is an C++ instance method */
is_java_synchronized_method: bool, /** the procedure is a Java synchronized method */
mutable is_synthetic_method: bool, /** the procedure is a synthetic method */
language: Config.language, /** language of the procedure */
loc: Location.t, /** location of this procedure in the source code */

@ -337,6 +337,7 @@ let create_local_procdesc program linereader cfg tenv node m =
is_bridge_method = cm.Javalib.cm_bridge;
is_defined = true;
is_synthetic_method = cm.Javalib.cm_synthetic;
is_java_synchronized_method = cm.Javalib.cm_synchronized;
loc = loc_start;
locals;
method_annotation;

Loading…
Cancel
Save