question: public List < Node > listAvailableNodes ( Class < ? > type ) { List < Node > result = new ArrayList < Node > ( ) ; for ( Node node : availableNodes ) { if ( type . isAssignableFrom ( node . getReturnType ( ) ) ) { result . add ( node ) ; } } return result ; }
target:  Returns the list of all available nodes with the given return type.