private <T extends Draft3Resource>List<T> lookForResources(Draft3ResourceType type,Class<T> clazz){
  List<T> resources=getRequirements(type,clazz);
  if (resources == null || resources.size() == 0) {
    resources=getHints(type,clazz);
  }
  return resources;
}

private < T extends Draft3Resource > List < T > lookForResources ( Draft3ResourceType type , Class < T > clazz ) { List < T > resources = getRequirements ( type , clazz ) ; if ( resources == null || resources . size ( ) == 0 ) { resources = getHints ( type , clazz ) ; } return resources ; }
find all resources by type
