src/main/java/de/vandermeer/execs/cf/CF.java
public Set<Class<?>> getSubclasses(Class<?> clazz){
		Set<Class<?>> ret = new HashSet<Class<?>>();
		Set<Class<?>> w = null;

		if(clazz!=null){
			this.clear();
			Map<URI, String> locations = this.locator.getCfLocations();
			for(Entry<URI, String> entry : locations.entrySet()){
				try{
					w = search(clazz, entry.getKey(), locations.get(entry.getKey()));
					if(w!=null && (w.size()>0)){
						ret.addAll(w);
					}
				}
				catch(MalformedURLException ex){}
			}
		}

		return ret;
	}
public Set<Class<?>> getSubclasses(Class<?> clazz){
		Set<Class<?>> ret = new HashSet<Class<?>>();
		Set<Class<?>> w = null;

		if(clazz!=null){
			this.clear();
			Map<URI, String> locations = this.locator.getCfLocations();
			for(Entry<URI, String> entry : locations.entrySet()){
				try{
					w = search(clazz, entry.getKey(), locations.get(entry.getKey()));
					if(w!=null && (w.size()>0)){
						ret.addAll(w);
					}
				}
				catch(MalformedURLException ex){}
			}
		}

		return ret;
	}
public Set < Class < ? > > getSubclasses ( Class < ? > clazz ) { Set < Class < ? > > ret = new HashSet < Class < ? > > ( ) ; Set < Class < ? > > w = null ; if ( clazz != null ) { this . clear ( ) ; Map < URI , String > locations = this . locator . getCfLocations ( ) ; for ( Entry < URI , String > entry : locations . entrySet ( ) ) { try { w = search ( clazz , entry . getKey ( ) , locations . get ( entry . getKey ( ) ) ) ; if ( w != null && ( w . size ( ) > 0 ) ) { ret . addAll ( w ) ; } } catch ( MalformedURLException ex ) { } } } return ret ; }
Returns all subclasses found for the given class.
@param clazz class to search for
@return all found subclasses
Returns all subclasses found for the given class .