public static synchronized void METHOD_1 ( TYPE_1 VAR_1 ) { TYPE_2 . add ( VAR_1 ) ; } 

public static synchronized void METHOD_1 ( TYPE_1 VAR_1 ) { synchronized ( TYPE_2 ) { TYPE_2 . add ( VAR_1 ) ; } } 
