question: private < T extends Draft2Resource > List < T > lookForResources ( Draft2ResourceType type , Class < T > clazz ) { List < T > resources = getRequirements ( type , clazz ) ; if ( resources == null || resources . size ( ) == 0 ) { resources = getHints ( type , clazz ) ; } return resources ; }
target:  Find all resources by type 