public TYPE_1 METHOD_1 ( ) throws TYPE_2 { if ( ( ( VAR_1 ) == null ) || ( VAR_1 . isEmpty ( ) ) ) { throw new TYPE_2 ( STRING_1 ) ; } return VAR_1 . get ( 0 ) ; }
public TYPE_1 METHOD_1 ( ) throws TYPE_2 { return VAR_1 . isEmpty ( ) ? null : VAR_1 . get ( 0 ) ; }