ImmutableSet < T > function ( Bundle arg0 , Iterable < String > arg1 , Class < T > arg2 ) { checkNotNull ( arg0 , "srini_string" ) ; checkNotNull ( arg1 , "srini_string" ) ; checkNotNull ( arg2 , "srini_string" ) ; return FluentIterable . from ( arg1 ) . transform ( loadClassIfAssignableFrom ( arg0 , arg2 ) ) . filter ( notNull ( ) ) . transform ( instantiateIfPossible ( arg2 ) ) . filter ( notNull ( ) ) . toSet ( ) ; }
instantiates the supplied classnames using the bundle classloader , and casts to the supplied type . any errors are silently ignored . concode_field_sep PlaceHolder placeHolder concode_field_sep ImmutableSet<String> stringsForResourceInBundle concode_elem_sep Function<String,Class<?>> loadClassIfAssignableFrom concode_elem_sep Function<Class<?>,T> instantiateIfPossible concode_elem_sep Iterable<String> splitOrEmptyAndClose