public synchronized java.util.ArrayList < TYPE_1 > METHOD_1 ( ) { java.util.ArrayList < TYPE_1 > VAR_1 = new java.util.ArrayList < > ( ) ; java.util.ArrayList < TYPE_2 > VAR_2 = this . METHOD_2 ( ) ; for ( TYPE_2 a : VAR_2 ) { if ( a instanceof TYPE_1 ) { VAR_1 . add ( ( ( TYPE_1 ) ( a ) ) ) ; } } return VAR_1 ; }

public java.util.ArrayList < TYPE_1 > METHOD_1 ( ) { java.util.ArrayList < TYPE_1 > VAR_1 = new java.util.ArrayList < > ( ) ; java.util.ArrayList < TYPE_2 > VAR_2 = this . METHOD_2 ( ) ; synchronized ( VAR_2 ) { for ( TYPE_2 a : VAR_2 ) { if ( a instanceof TYPE_1 ) { VAR_1 . add ( ( ( TYPE_1 ) ( a ) ) ) ; } } } return VAR_1 ; }
