private TYPE_1 METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { for ( TYPE_1 a : VAR_1 ) if ( a . getType ( ) . equals ( STRING_1 ) ) return a ; throw new java.lang.NullPointerException ( STRING_2 ) ; }
private TYPE_1 METHOD_1 ( java.util.List < TYPE_1 > VAR_1 ) { for ( TYPE_1 a : VAR_1 ) if ( a . getType ( ) . startsWith ( STRING_1 ) ) return a ; throw new java.lang.NullPointerException ( STRING_2 ) ; }