private java.util.Set < TYPE_1 > METHOD_1 ( ) { java.util.Set < TYPE_1 > result = new java.util.HashSet < > ( ) ; for ( TYPE_2 < TYPE_1 > VAR_1 : VAR_2 ) { TYPE_1 VAR_3 = METHOD_2 ( VAR_1 ) ; if ( VAR_3 != null ) { result . add ( VAR_3 ) ; } } return result ; }

public java.util.Set < TYPE_1 > METHOD_1 ( ) { java.util.Set < TYPE_1 > result = new java.util.HashSet < > ( ) ; for ( TYPE_2 < TYPE_1 > VAR_1 : VAR_2 ) { TYPE_1 VAR_3 = METHOD_2 ( VAR_1 ) ; if ( VAR_3 != null ) { result . add ( VAR_3 ) ; } } return result ; }
